File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1- import { spawn , ChildProcessWithoutNullStreams } from "child_process"
1+ import { spawn } from "child_process"
22import { Api } from "coder/site/src/api/api"
33import { ProvisionerJobLog , Workspace } from "coder/site/src/api/typesGenerated"
44import fs from "fs/promises"
@@ -137,11 +137,7 @@ export async function startWorkspaceIfStoppedOrFailed(
137137 }
138138
139139 return new Promise ( ( resolve , reject ) => {
140- const startProcess : ChildProcessWithoutNullStreams = spawn ( binPath , [
141- "start" ,
142- "--yes" ,
143- workspace . owner_name + "/" + workspace . name ,
144- ] )
140+ const startProcess = spawn ( binPath , [ "start" , "--yes" , workspace . owner_name + "/" + workspace . name ] )
145141
146142 startProcess . stdout . on ( "data" , ( data : Buffer ) => {
147143 data
You can’t perform that action at this time.
0 commit comments