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"
2
2
import { Api } from "coder/site/src/api/api"
3
3
import { ProvisionerJobLog , Workspace } from "coder/site/src/api/typesGenerated"
4
4
import fs from "fs/promises"
@@ -137,11 +137,7 @@ export async function startWorkspaceIfStoppedOrFailed(
137
137
}
138
138
139
139
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 ] )
145
141
146
142
startProcess . stdout . on ( "data" , ( data : Buffer ) => {
147
143
data
You can’t perform that action at this time.
0 commit comments