@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 +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();
         |