mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-23 22:09:53 -06:00
ci: capture the error during setup
This commit is contained in:
@@ -48,8 +48,13 @@ module.exports = class TestSDK {
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
await this.mkdir(this.default_cwd, { overwrite: true, create_missing_parents: true });
|
||||
this.cd(this.default_cwd);
|
||||
try {
|
||||
await this.mkdir(this.default_cwd, { overwrite: true, create_missing_parents: true });
|
||||
await this.cd(this.default_cwd);
|
||||
} catch (e) {
|
||||
console.log('error during working directory initialization: ', e.message);
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
async get_sdk (name) {
|
||||
|
||||
Reference in New Issue
Block a user