Skip to content

Commit 5975406

Browse files
committed
add ./vendor to excluded directories by default
small chance this is used by non-Go projects, let me know if that is the case
1 parent cf66449 commit 5975406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/zip/zip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func Build(dir string) (io.ReadCloser, *archive.Stats, error) {
3535

3636
r := io.MultiReader(
3737
strings.NewReader(".*\n"),
38-
strings.NewReader("\n!node_modules/**\n!.pypath/**\n"),
38+
strings.NewReader("\n!vendor\n!node_modules/**\n!.pypath/**\n"),
3939
upignore,
4040
strings.NewReader("\n!main\n!server\n!_proxy.js\n!byline.js\n!up.json\n!pom.xml\n!build.gradle\n!project.clj\ngin-bin\nup\n"))
4141

0 commit comments

Comments
 (0)