update tslint
This commit is contained in:
parent
679c870229
commit
7694cc9c08
@ -228,7 +228,7 @@ export let fileTreeToObject = async (dirPathArg: string, miniMatchFilter: string
|
|||||||
plugins.path.join(dirPath, filePath)
|
plugins.path.join(dirPath, filePath)
|
||||||
)
|
)
|
||||||
|
|
||||||
// push a read file as Smartfile
|
// push a read file as Smartfile
|
||||||
smartfileArray.push(new Smartfile({
|
smartfileArray.push(new Smartfile({
|
||||||
contentBuffer: new Buffer(fileContentString),
|
contentBuffer: new Buffer(fileContentString),
|
||||||
base: dirPath,
|
base: dirPath,
|
||||||
@ -336,7 +336,7 @@ export let listAllItems = function (pathArg: string, regexFilter?: RegExp): Prom
|
|||||||
allItmesArray = allItmesArray.filter((fileItem) => {
|
allItmesArray = allItmesArray.filter((fileItem) => {
|
||||||
return regexFilter.test(fileItem)
|
return regexFilter.test(fileItem)
|
||||||
})
|
})
|
||||||
};
|
}
|
||||||
done.resolve(allItmesArray)
|
done.resolve(allItmesArray)
|
||||||
return done.promise
|
return done.promise
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user