forked from coolaj86/walnut.js
		
	do not attempt dot files
This commit is contained in:
		
							parent
							
								
									b6493ac916
								
							
						
					
					
						commit
						c9c6344682
					
				| @ -49,6 +49,9 @@ module.exports.create = function (conf, deps) { | |||||||
|       var services = []; |       var services = []; | ||||||
| 
 | 
 | ||||||
|       nodes.forEach(function (node) { |       nodes.forEach(function (node) { | ||||||
|  |         if (!/^\./.test(node)) { | ||||||
|  |           return; | ||||||
|  |         } | ||||||
|         promise = promise.then(function () { |         promise = promise.then(function () { | ||||||
|           return loadService(node).then(function (srv) { |           return loadService(node).then(function (srv) { | ||||||
|             if (!srv) { |             if (!srv) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user