diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/tools/registry/tar.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/tools/registry/tar.rs b/cli/tools/registry/tar.rs index 0da410764..b5ee4e993 100644 --- a/cli/tools/registry/tar.rs +++ b/cli/tools/registry/tar.rs @@ -63,7 +63,10 @@ pub fn create_gzipped_tarball( } return false; } - e.path.file_name().map(|s| s != ".DS_Store").unwrap_or(true) + e.path + .file_name() + .map(|s| s != ".DS_Store" && s != ".gitignore") + .unwrap_or(true) }) .ignore_git_folder() .ignore_node_modules() |