From 944e9b227c9c3374eef610bb83bcd7bfce625ee0 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 23 May 2016 05:34:25 +0200 Subject: [PATCH] deactivate typings clean for now until nodehash is implemented --- dist/npmts.clean.js | 8 +++++++- ts/npmts.clean.ts | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/dist/npmts.clean.js b/dist/npmts.clean.js index 1f508a4..dcc3aa4 100644 --- a/dist/npmts.clean.js +++ b/dist/npmts.clean.js @@ -8,8 +8,14 @@ var removeDist = function () { return plugins.smartfile.fsaction.remove(paths.distDir); }; var removeTypings = function () { + var done = plugins.Q.defer(); npmts_promisechain_1.npmtsOra.text("cleaning " + "typings".yellow + " folder"); - return plugins.smartfile.fsaction.remove(paths.typingsDir); + if (false) { + } + else { + done.resolve(); + } + return done.promise; }; exports.run = function (configArg) { npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds..."); diff --git a/ts/npmts.clean.ts b/ts/npmts.clean.ts index 88b6dc1..bdf3baf 100644 --- a/ts/npmts.clean.ts +++ b/ts/npmts.clean.ts @@ -9,8 +9,15 @@ let removeDist = function(){ }; let removeTypings = function(){ + let done = plugins.Q.defer(); npmtsOra.text("cleaning " + "typings".yellow + " folder"); - return plugins.smartfile.fsaction.remove(paths.typingsDir); + if(false){ + //plugins.smartfile.fsaction.remove(paths.typingsDir) + // .then(done.resolve); + } else { + done.resolve(); + } + return done.promise; }; export let run = function(configArg){