@@ -12,11 +12,11 @@ import * as vscode from "vscode";
1212import * as ws from "ws" ;
1313import { errToStr } from "./api-helper" ;
1414import { CertificateError } from "./error" ;
15+ import { FeatureSet } from "./featureSet" ;
1516import { getHeaderArgs } from "./headers" ;
1617import { getProxyForUrl } from "./proxy" ;
1718import { Storage } from "./storage" ;
1819import { expandPath } from "./util" ;
19- import { FeatureSet } from "./featureSet" ;
2020
2121export const coderSessionTokenHeader = "Coder-Session-Token" ;
2222
@@ -175,7 +175,7 @@ export async function startWorkspaceIfStoppedOrFailed(
175175 binPath : string ,
176176 workspace : Workspace ,
177177 writeEmitter : vscode . EventEmitter < string > ,
178- featureSet : FeatureSet
178+ featureSet : FeatureSet ,
179179) : Promise < Workspace > {
180180 // Before we start a workspace, we make an initial request to check it's not already started
181181 const updatedWorkspace = await restClient . getWorkspace ( workspace . id ) ;
@@ -191,10 +191,10 @@ export async function startWorkspaceIfStoppedOrFailed(
191191 ...getHeaderArgs ( vscode . workspace . getConfiguration ( ) ) ,
192192 "start" ,
193193 "--yes" ,
194- workspace . owner_name + "/" + workspace . name
194+ workspace . owner_name + "/" + workspace . name ,
195195 ] ;
196196 if ( featureSet . buildReason ) {
197- startArgs . push ( ...[ ' --reason' , ' vscode_connection' ] )
197+ startArgs . push ( ...[ " --reason" , " vscode_connection" ] ) ;
198198 }
199199
200200 const startProcess = spawn ( binPath , startArgs ) ;
0 commit comments