Skip to content

Commit 4cd7cc6

Browse files
committed
fix: app uid issue
1 parent cef7d91 commit 4cd7cc6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/commands/app/deploy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export default class Deploy extends AppCLIBaseCommand {
6868
flags["app-uid"] = this.manifestData?.uid ?? flags["app-uid"];
6969
this.sharedConfig.org = await this.getOrganization();
7070
const app = await this.fetchAppDetails();
71+
this.flags["app-uid"] = app?.uid;
7172

7273
const apolloClient = await this.getApolloClient();
7374
const projects = await getProjects(apolloClient);
@@ -117,7 +118,7 @@ export default class Deploy extends AppCLIBaseCommand {
117118
this.log(`App URL: ${flags["app-url"]}`, "info");
118119
} catch (error: any) {
119120
this.log(error?.errorMessage || error?.message || error, "error");
120-
this.exit(1);
121+
process.exit(1);
121122
}
122123
}
123124

src/commands/app/reinstall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default class Reinstall extends AppCLIBaseCommand {
120120
this.displayStackUrl();
121121
} catch (error: any) {
122122
this.log(error?.errorMessage || error?.message || error, "error");
123-
this.exit(1);
123+
process.exit(1);
124124
}
125125
}
126126

0 commit comments

Comments
 (0)