npmci/ts/npmci.clean.ts
2016-11-25 00:07:20 +01:00

12 lines
292 B
TypeScript

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;
};