now cleaning up correctly
This commit is contained in:
@ -27,8 +27,9 @@ let buildConfig = async (qenvKeyValueObjectArrayArg: IKeyValueObject[]) => {
|
||||
let config = npmextra.dataFor<IConfig>(
|
||||
'npmdocker',
|
||||
{
|
||||
baseImage: 'hosttoday/ht-docker-node:npmci',
|
||||
command: 'npmci test stable',
|
||||
baseImage: 'hosttoday/ht-docker-node:npmdocker',
|
||||
init: 'rm -rf node_nodules/ && yarn install',
|
||||
command: 'npmci npm test',
|
||||
dockerSock: false,
|
||||
keyValueObjectArray: qenvKeyValueObjectArrayArg
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ let postClean = async () => {
|
||||
.then(async () => {
|
||||
plugins.beautylog.ok('cleaned up!')
|
||||
})
|
||||
await plugins.smartfile.fs.remove(paths.npmdockerFile)
|
||||
plugins.smartfile.fs.removeSync(paths.npmdockerFile)
|
||||
}
|
||||
|
||||
export let run = async (configArg: IConfig): Promise<IConfig> => {
|
||||
|
Reference in New Issue
Block a user