Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit b372df0

Browse files
committed
Include options parameter when invoking syncFiles recursively - Fixes #15
1 parent 1c5f565 commit b372df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fileTools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function syncFiles (source, target, options, callback) {
205205

206206
// if fileOrDir is a directory, synchronize it
207207
if (info.isDirectory()) {
208-
return syncFiles(sourceFile, path.join(target, fileOrDir));
208+
return syncFiles(sourceFile, path.join(target, fileOrDir), options);
209209
}
210210

211211
// check to see if file should be skipped

0 commit comments

Comments
 (0)