npmci/ts/npmci.clean.ts

13 lines
317 B
TypeScript
Raw Permalink Normal View History

2016-06-26 02:54:10 +00:00
import "typings-global";
import * as plugins from "./npmci.plugins";
import * as paths from "./npmci.paths"
/**
* cleans npmci config files
*/
export let clean = () => {
let done = plugins.q.defer();
plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig);
done.resolve();
return done.promise;
};