File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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 } {
177177 return result ;
178178}
179179
180- export function terminalWithDocker ( ) {
180+ export async function terminalWithDocker ( ) : Promise < vscode . Terminal > {
181181 const { ns, "docker-compose" : dockerCompose } = config ( "conn" ) ;
182182 const { service, file = "docker-compose.yml" } = dockerCompose ;
183183 const workspace = currentWorkspaceFolder ( ) ;
184184
185185 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 ) ;
187187 if ( ! terminal ) {
188188 terminal = vscode . window . createTerminal ( terminalName , "docker-compose" , [
189189 "-f" ,
You can’t perform that action at this time.
0 commit comments