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

Commit c2c2155

Browse files
author
Esteban Lopez
authored
Merge pull request #17 from manifoldjs/fixes-issue-15
Include options parameter when invoking syncFiles recursively - Fixes #15
2 parents 1c5f565 + b372df0 commit c2c2155

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)