0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-04-04 19:14:51 +00:00 committed by astrobot-houston
parent 4bf8bd3848
commit 48f158215d

View file

@ -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);
}