2016-11-25 13:25:45 +01:00
|
|
|
import * as plugins from './npmci.plugins'
|
|
|
|
import * as paths from './npmci.paths'
|
2016-06-26 04:54:10 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* cleans npmci config files
|
|
|
|
*/
|
|
|
|
export let clean = () => {
|
2016-11-25 13:25:45 +01:00
|
|
|
let done = plugins.q.defer()
|
|
|
|
plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig)
|
|
|
|
done.resolve()
|
|
|
|
return done.promise
|
|
|
|
}
|