Skip to content

Fix issue where error does not propogate - #953

Merged
mattfarina merged 1 commit into
masterfrom
fix/walking-error
Dec 13, 2017
Merged

Fix issue where error does not propogate#953
mattfarina merged 1 commit into
masterfrom
fix/walking-error

Conversation

@mattfarina

Copy link
Copy Markdown
Member

No description provided.

@mattfarina
mattfarina merged commit 270dde6 into master Dec 13, 2017
@mattfarina
mattfarina deleted the fix/walking-error branch December 13, 2017 14:40
Comment thread path/strip.go
}

err := filepath.Walk(searchPath, func(path string, info os.FileInfo, err error) error {
if err != nil {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding these lines causes an issue for me now when trying to run glide install --strip-vendor

The error it produces is similar to:
[INFO] Replacing existing vendor dependencies
[INFO] Removing nested vendor and Godeps/_workspace directories...
[INFO] Removing: <SOME_PATH>/lib/go/vendor
[ERROR] Unable to strip vendor directories: open <SOME_PATH>/lib/go/vendor: no such file or directory

Do I need to create an Issue on this? It's causing our builds to fail now.

@apynes2 apynes2 Dec 13, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#955 is already created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants