Skip to content

Commit

Permalink
fixup! chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
olexii4 committed Aug 16, 2023
1 parent 0788879 commit e4a65d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class StartingStepStartWorkspace extends ProgressStep<Props, State> {
this.state.shouldStart &&
workspaceStatusIs(workspace, DevWorkspaceStatus.STOPPED, DevWorkspaceStatus.FAILED)
) {
this.props.startWorkspace(workspace, getStartParams(this.props.history.location));
await this.props.startWorkspace(workspace, getStartParams(this.props.history.location));
}

// do not switch to the next step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function resetRestartInSafeModeLocation(location: Location): boolean {
return safeMode;
}

export function getStartParams(location: Location) {
export function getStartParams(location: Location): { 'debug-workspace-start': true } | undefined {
const searchParams = new URLSearchParams(location.search);
return searchParams.get(DEBUG_WORKSPACE_START) === 'true'
? {
Expand Down

0 comments on commit e4a65d7

Please sign in to comment.