update
This commit is contained in:
@@ -4,9 +4,7 @@ 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
|
||||
export let clean = async (): Promise<void> => {
|
||||
plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user