修复ls递归错误
							parent
							
								
									de6182576d
								
							
						
					
					
						commit
						901f356bfd
					
				
							
								
								
									
										2
									
								
								index.js
								
								
								
								
							
							
						
						
									
										2
									
								
								index.js
								
								
								
								
							|  | @ -63,7 +63,7 @@ const Iofs = { | |||
|         var tmp = list.concat() | ||||
|         tmp.forEach(it => { | ||||
|           if (this.isdir(it)) { | ||||
|             list = list.concat(this.ls(it)) | ||||
|             list = list.concat(this.ls(it, recursive)) | ||||
|           } | ||||
|         }) | ||||
|       } | ||||
|  |  | |||
|  | @ -63,7 +63,7 @@ export default { | |||
|         var tmp = list.concat() | ||||
|         tmp.forEach(it => { | ||||
|           if (this.isdir(it)) { | ||||
|             list = list.concat(this.ls(it)) | ||||
|             list = list.concat(this.ls(it, recursive)) | ||||
|           } | ||||
|         }) | ||||
|       } | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|   "name": "iofs", | ||||
|   "version": "1.5.0", | ||||
|   "version": "1.5.1", | ||||
|   "description": "iofs是一个基于原生fs模块封装的工具, 旨在提供更加方便实用一些常用的API方法(同步), API习惯参考了bash shell。", | ||||
|   "main": "index.js", | ||||
|   "repository": { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue