Skip to content

Commit e208254

Browse files
committed
Fixing dir scan
1 parent 443dd13 commit e208254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "azure-blobs-content-uploader",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A file uploader to multiple az-blob storage accounts, primarily to help SPA developers.",
55
"main": "index.js",
66
"scripts": {

src/fileSystemUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
let dirsInDir = currentDirectoryContents
2828
.filter(t => fs.lstatSync(path.join(currentDirectoryPath, t))
2929
.isDirectory()).map(t => path.join(currentDirectoryPath, t));
30-
if (dirsInDir && dirsInDir.length) q.enqueue(...dirsInDir);
30+
if (dirsInDir && dirsInDir.length) dirsInDir.forEach(t => q.enqueue(d));
3131
}
3232
}
3333

0 commit comments

Comments
 (0)