mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix ENOENT error in LocalFileSystem.clean()
This commit is contained in:
		@@ -133,6 +133,12 @@ LocalFileSystem.prototype.clean = function(activeNodes){
 | 
			
		||||
            }
 | 
			
		||||
            return result;
 | 
			
		||||
        },[]));
 | 
			
		||||
    }).catch(function(err){
 | 
			
		||||
        if(err.code == 'ENOENT') {
 | 
			
		||||
            return when.resolve();
 | 
			
		||||
        }else{
 | 
			
		||||
            return when.reject(err);
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
 }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user