Skip to content

Commit

Permalink
Merge pull request #27 from easingthemes/#26-micromatch-arguments-fix
Browse files Browse the repository at this point in the history
#26 micromatch arguments fix
  • Loading branch information
gavoja authored Sep 22, 2017
2 parents 10a50a5 + 9cbb0cf commit 02388d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aemsync",
"version": "2.0.0",
"version": "2.0.1",
"description": "Adobe AEM Synchronization Tool",
"author": "Michal Kochel <[email protected]>",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Watcher {
log.debug('Changed:', localPath)

// Skip excluded.
if (exclude && mm(exclude, localPath)) {
if (exclude && mm([localPath], exclude).length > 0) {
return
}

Expand Down

0 comments on commit 02388d3

Please sign in to comment.