Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Apr 4, 2024
1 parent 4bf8bd3 commit 48f1582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/db/src/core/cli/commands/link/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 48f1582

Please sign in to comment.