Skip to content

Commit

Permalink
add ./vendor to excluded directories by default
Browse files Browse the repository at this point in the history
small chance this is used by non-Go projects, let me know if that is the case
  • Loading branch information
tj committed May 15, 2019
1 parent cf66449 commit 5975406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/zip/zip.go
Expand Up @@ -35,7 +35,7 @@ func Build(dir string) (io.ReadCloser, *archive.Stats, error) {

r := io.MultiReader(
strings.NewReader(".*\n"),
strings.NewReader("\n!node_modules/**\n!.pypath/**\n"),
strings.NewReader("\n!vendor\n!node_modules/**\n!.pypath/**\n"),
upignore,
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"))

Expand Down

0 comments on commit 5975406

Please sign in to comment.