now cleaning up correctly

This commit is contained in:
2017-10-13 18:06:12 +02:00
parent d3d3363e1b
commit d2cd294b36
4 changed files with 10 additions and 8 deletions

View File

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

View File

@ -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> => {