File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import * as os from "os" ;
2
2
import * as vscode from "vscode" ;
3
- import { ExecResult , exec , extensionConfiguration } from "./utils" ;
3
+ import { ExecResult , exec , extensionConfiguration , getTargetName } from "./utils" ;
4
4
import { Targets , Test , Tests , DebugEnvironmentConfiguration } from "./types" ;
5
5
import { getMesonTests , getMesonTargets } from "./introspection" ;
6
6
import { workspaceState } from "./extension" ;
@@ -156,9 +156,9 @@ export async function testDebugHandler(
156
156
relevantTests . some ( ( test ) => test . depends . some ( ( dep ) => dep == target . id ) ) ,
157
157
) ;
158
158
159
- var args = [ "compile" , "-C" , buildDir ] ;
160
- requiredTargets . forEach ( ( target ) => {
161
- args . push ( target . name ) ;
159
+ let args = [ "compile" , "-C" , buildDir ] ;
160
+ requiredTargets . forEach ( async ( target ) => {
161
+ args . push ( await getTargetName ( target ) ) ;
162
162
} ) ;
163
163
164
164
try {
You can’t perform that action at this time.
0 commit comments