summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthewp@users.noreply.github.com> 2024-04-04 19:14:51 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-04-04 19:14:51 +0000
commit48f158215de64dcf78c4b1e8489aa965e703577d (patch)
tree73726bd998784f9f47358f1317b0c4f58b25727b
parent4bf8bd3848a6f3461f0186854588a8e2f90f4dbc (diff)
downloadastro-48f158215de64dcf78c4b1e8489aa965e703577d.tar.gz
astro-48f158215de64dcf78c4b1e8489aa965e703577d.tar.zst
astro-48f158215de64dcf78c4b1e8489aa965e703577d.zip
[ci] format
-rw-r--r--packages/db/src/core/cli/commands/link/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/db/src/core/cli/commands/link/index.ts b/packages/db/src/core/cli/commands/link/index.ts
index 42da563b0..9ac201e76 100644
--- a/packages/db/src/core/cli/commands/link/index.ts
+++ b/packages/db/src/core/cli/commands/link/index.ts
@@ -16,7 +16,7 @@ export async function cmd() {
console.error(MISSING_SESSION_ID_ERROR);
process.exit(1);
}
- const getWorkspaceIdAsync = getWorkspaceId().catch(err => {
+ const getWorkspaceIdAsync = getWorkspaceId().catch((err) => {
return err as Error;
});
await promptBegin();
@@ -84,7 +84,7 @@ async function getWorkspaceId(): Promise<string> {
}
function unwrapWorkspaceId(workspaceId: string | Error): string {
- if(typeof workspaceId !== 'string') {
+ if (typeof workspaceId !== 'string') {
console.error(workspaceId.message);
process.exit(1);
}