Skip to content

Commit

Permalink
fix: prettier fix
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 committed Jan 19, 2024
1 parent 530d545 commit df9a90b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/backend/src/managers/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ export class PlayGroundManager {
if (this.playgrounds.has(modelId)) {
// TODO: check manually if the contains has a matching state
switch (this.playgrounds.get(modelId).status) {
case "running":
case 'running':
throw new Error('playground is already running');
case "starting":
case "stopping":
case 'starting':
case 'stopping':
throw new Error('playground is transitioning');
case "error":
case "none":
case "stopped":
case 'error':
case 'none':
case 'stopped':
break;
}
}
Expand Down

0 comments on commit df9a90b

Please sign in to comment.