Skip to content

Commit

Permalink
Fixes bug with nested ignored folders
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Oct 15, 2019
1 parent 50c8201 commit a4f49f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/sync/update/set.js
Expand Up @@ -18,9 +18,9 @@ function isPublic(path) {
normalize(path).indexOf("/public/") === 0 ||
// blot specific rule to ignore files and folders
// whose name begins with an underscore
normalize(path).indexOf("/_") === 0 ||
normalize(path).indexOf("/_") > -1 ||
// convention to ingore dotfiles or folders
normalize(path).indexOf("/.") === 0
normalize(path).indexOf("/.") > -1 0
);
}

Expand Down

0 comments on commit a4f49f1

Please sign in to comment.