mirror of
https://github.com/denoland/deno
synced 2024-10-04 07:09:20 +00:00
fix(publish): ignore .DS_Store while publishing (#22478)
This commit is contained in:
parent
66424032a2
commit
ef43d51497
|
@ -60,6 +60,7 @@ pub fn create_gzipped_tarball(
|
|||
if !matches_pattern
|
||||
|| path.file_name() == Some(OsStr::new(".git"))
|
||||
|| path.file_name() == Some(OsStr::new("node_modules"))
|
||||
|| path.file_name() == Some(OsStr::new(".DS_Store"))
|
||||
{
|
||||
if file_type.is_dir() {
|
||||
iterator.skip_current_dir();
|
||||
|
|
Loading…
Reference in a new issue