deactivate typings clean for now until nodehash is implemented
This commit is contained in:
parent
b83aaf4abf
commit
944e9b227c
8
dist/npmts.clean.js
vendored
8
dist/npmts.clean.js
vendored
@ -8,8 +8,14 @@ var removeDist = function () {
|
|||||||
return plugins.smartfile.fsaction.remove(paths.distDir);
|
return plugins.smartfile.fsaction.remove(paths.distDir);
|
||||||
};
|
};
|
||||||
var removeTypings = function () {
|
var removeTypings = function () {
|
||||||
|
var done = plugins.Q.defer();
|
||||||
npmts_promisechain_1.npmtsOra.text("cleaning " + "typings".yellow + " folder");
|
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) {
|
exports.run = function (configArg) {
|
||||||
npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds...");
|
npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds...");
|
||||||
|
@ -9,8 +9,15 @@ let removeDist = function(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
let removeTypings = function(){
|
let removeTypings = function(){
|
||||||
|
let done = plugins.Q.defer();
|
||||||
npmtsOra.text("cleaning " + "typings".yellow + " folder");
|
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){
|
export let run = function(configArg){
|
||||||
|
Loading…
Reference in New Issue
Block a user