Skip to content

Commit f487e75

Browse files
committed
catch internal vendoring in net/http since go1.7
1 parent 1d55759 commit f487e75

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

imports.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ func recursiveParseImports(
1616
return nil
1717
}
1818

19+
// catch internal vendoring in net/http since go 1.7
20+
if strings.HasPrefix(path, "golang_org/") {
21+
return nil
22+
}
23+
1924
pkg, err := build.Import(path, cwd, build.IgnoreVendor)
2025
if err != nil {
2126
return err

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
const (
16-
version = `manul 1.3`
16+
version = `manul 1.4`
1717
usage = version + `
1818
1919
manul is the tool for vendoring dependencies using git submodule technology.

0 commit comments

Comments
 (0)