Compare commits

..

2 Commits

Author SHA1 Message Date
0ba3c1794e 4.0.24 2016-09-30 16:38:27 +02:00
0a810a3ac1 some style improvement 2016-09-30 16:38:24 +02:00
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "smartfile", "name": "smartfile",
"version": "4.0.23", "version": "4.0.24",
"description": "offers smart ways to work with files in nodejs", "description": "offers smart ways to work with files in nodejs",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",

View File

@ -329,7 +329,7 @@ export let listFileTree = (dirPathArg: string, miniMatchFilter: string): plugins
// handle absolute miniMatchFilter // handle absolute miniMatchFilter
let dirPath: string let dirPath: string
if(plugins.path.isAbsolute(miniMatchFilter)){ if (plugins.path.isAbsolute(miniMatchFilter)) {
dirPath = '/' dirPath = '/'
} else { } else {
dirPath = dirPathArg dirPath = dirPathArg