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){