@jdeighan/coffee-utils 7.0.5 → 7.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "7.0.5",
4
+ "version": "7.0.6",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -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();