@jdeighan/coffee-utils 7.0.5 → 7.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/fs_utils.coffee +1 -1
- package/src/fs_utils.js +1 -1
package/package.json
CHANGED
package/src/fs_utils.coffee
CHANGED
@@ -192,7 +192,7 @@ export withUnderScore = (path) ->
|
|
192
192
|
export getSubDirs = (dir) ->
|
193
193
|
|
194
194
|
return fs.readdirSync(dir, {withFileTypes: true}) \
|
195
|
-
.filter((d) -> d.isDirectory()) \
|
195
|
+
.filter((d) -> d.isDirectory() && (d != '$Recycle.Bin')) \
|
196
196
|
.map((d) -> mkpath(d.name)) \
|
197
197
|
.sort()
|
198
198
|
|
package/src/fs_utils.js
CHANGED
@@ -223,7 +223,7 @@ export var getSubDirs = function(dir) {
|
|
223
223
|
return fs.readdirSync(dir, {
|
224
224
|
withFileTypes: true
|
225
225
|
}).filter(function(d) {
|
226
|
-
return d.isDirectory();
|
226
|
+
return d.isDirectory() && (d !== '$Recycle.Bin');
|
227
227
|
}).map(function(d) {
|
228
228
|
return mkpath(d.name);
|
229
229
|
}).sort();
|