@@ -12,11 +12,11 @@ import * as vscode from "vscode";
12
12
import * as ws from "ws" ;
13
13
import { errToStr } from "./api-helper" ;
14
14
import { CertificateError } from "./error" ;
15
+ import { FeatureSet } from "./featureSet" ;
15
16
import { getHeaderArgs } from "./headers" ;
16
17
import { getProxyForUrl } from "./proxy" ;
17
18
import { Storage } from "./storage" ;
18
19
import { expandPath } from "./util" ;
19
- import { FeatureSet } from "./featureSet" ;
20
20
21
21
export const coderSessionTokenHeader = "Coder-Session-Token" ;
22
22
@@ -175,7 +175,7 @@ export async function startWorkspaceIfStoppedOrFailed(
175
175
binPath : string ,
176
176
workspace : Workspace ,
177
177
writeEmitter : vscode . EventEmitter < string > ,
178
- featureSet : FeatureSet
178
+ featureSet : FeatureSet ,
179
179
) : Promise < Workspace > {
180
180
// Before we start a workspace, we make an initial request to check it's not already started
181
181
const updatedWorkspace = await restClient . getWorkspace ( workspace . id ) ;
@@ -191,10 +191,10 @@ export async function startWorkspaceIfStoppedOrFailed(
191
191
...getHeaderArgs ( vscode . workspace . getConfiguration ( ) ) ,
192
192
"start" ,
193
193
"--yes" ,
194
- workspace . owner_name + "/" + workspace . name
194
+ workspace . owner_name + "/" + workspace . name ,
195
195
] ;
196
196
if ( featureSet . buildReason ) {
197
- startArgs . push ( ...[ ' --reason' , ' vscode_connection' ] )
197
+ startArgs . push ( ...[ " --reason" , " vscode_connection" ] ) ;
198
198
}
199
199
200
200
const startProcess = spawn ( binPath , startArgs ) ;
0 commit comments