File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,13 +177,13 @@ export function portFromDockerCompose(): { port: number; docker: boolean } {
177
177
return result ;
178
178
}
179
179
180
- export function terminalWithDocker ( ) {
180
+ export async function terminalWithDocker ( ) : Promise < vscode . Terminal > {
181
181
const { ns, "docker-compose" : dockerCompose } = config ( "conn" ) ;
182
182
const { service, file = "docker-compose.yml" } = dockerCompose ;
183
183
const workspace = currentWorkspaceFolder ( ) ;
184
184
185
185
const terminalName = `ObjectScript:${ workspace } ` ;
186
- let terminal = vscode . window . terminals . find ( el => el . name === terminalName && terminal . exitStatus == undefined ) ;
186
+ let terminal = vscode . window . terminals . find ( el => el . name === terminalName && el . exitStatus == undefined ) ;
187
187
if ( ! terminal ) {
188
188
terminal = vscode . window . createTerminal ( terminalName , "docker-compose" , [
189
189
"-f" ,
You can’t perform that action at this time.
0 commit comments