Fix bug in client.mjs
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
This commit is contained in:
parent
44f576c1d4
commit
746e0c3f46
2 changed files with 3 additions and 3 deletions
|
@ -30,11 +30,11 @@ test_script:
|
||||||
chmod -R 777 /appveyor/projects
|
chmod -R 777 /appveyor/projects
|
||||||
npm install
|
npm install
|
||||||
npm run test -- --ignore-only
|
npm run test -- --ignore-only
|
||||||
if [ $? -ne 0 ] ;
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
npm run test:integration -- --ignore-only
|
npm run test:integration -- --ignore-only
|
||||||
if [ $? -ne 0 ] ;
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ export function request(config, path, filePath = null, redirects, fastRaw = fals
|
||||||
|
|
||||||
// Do some cleanup in case we were in the middle of downloading file
|
// Do some cleanup in case we were in the middle of downloading file
|
||||||
return fs.rm(filePath, function() {
|
return fs.rm(filePath, function() {
|
||||||
reject(Util.combineStack(err))
|
reject(Util.combineStack(err, orgErr))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// Let the pipeline do the resolving so it can finish flusing before calling resolve
|
// Let the pipeline do the resolving so it can finish flusing before calling resolve
|
||||||
|
|
Loading…
Reference in a new issue