From 7694cc9c085ca7a135f5e24b0c81a58090615fb1 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 7 May 2017 23:16:25 +0200 Subject: [PATCH] update tslint --- ts/smartfile.fs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/smartfile.fs.ts b/ts/smartfile.fs.ts index 61df8a7..a23504f 100644 --- a/ts/smartfile.fs.ts +++ b/ts/smartfile.fs.ts @@ -228,7 +228,7 @@ export let fileTreeToObject = async (dirPathArg: string, miniMatchFilter: string plugins.path.join(dirPath, filePath) ) - // push a read file as Smartfile + // push a read file as Smartfile smartfileArray.push(new Smartfile({ contentBuffer: new Buffer(fileContentString), base: dirPath, @@ -336,7 +336,7 @@ export let listAllItems = function (pathArg: string, regexFilter?: RegExp): Prom allItmesArray = allItmesArray.filter((fileItem) => { return regexFilter.test(fileItem) }) - }; + } done.resolve(allItmesArray) return done.promise }