-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes an issue with multi-module projects that accidentially vendored main modules, causing already-exists errors when symlinking. The same strategy is employed by go in the `go mod vendor` command, see https://github.com/golang/go/blob/81efd7b347dd6d7f12fd49c6eee0274005734c71/src/cmd/go/internal/modcmd/vendor.go#L100
- Loading branch information
Showing
3 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"Path": "a", | ||
"Dir": "/tmp/a" | ||
"Dir": "/tmp/a", | ||
"Main": true | ||
} | ||
{ | ||
"Path": "example.org/b", | ||
|