Skip to content

Commit 6676c7d

Browse files
fix: passed 1 to this.exit()
1 parent b320131 commit 6676c7d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/app/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class Get extends BaseCommand<typeof Get> {
5656
);
5757
} catch (error: any) {
5858
this.log(error?.errorMessage || error?.message || error, "error");
59-
this.exit();
59+
this.exit(1);
6060
}
6161
}
6262
}

src/commands/app/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class Install extends BaseCommand<typeof Install> {
7676
}), "info");
7777
} catch(error: any) {
7878
this.log(error?.errorMessage || error?.message || error, "error")
79-
this.exit()
79+
this.exit(1)
8080
}
8181
}
8282
}

src/commands/app/uninstall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default class Uninstall extends BaseCommand<typeof Uninstall> {
4949

5050
} catch (error: any) {
5151
this.log(error?.errorMessage || error?.message || error, "error")
52-
this.exit();
52+
this.exit(1);
5353
}
5454
}
5555

0 commit comments

Comments
 (0)