Skip to content

Commit 4e82102

Browse files
committed
fix target list
1 parent 6e04092 commit 4e82102

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/xmake.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,9 +1512,9 @@ export class XMake implements vscode.Disposable {
15121512

15131513
// get target names
15141514
let targets = "";
1515-
let getTargetInformationsScript = utils.getAssetsScriptPath("target_informations.lua");
1516-
if (fs.existsSync(getTargetInformationsScript)) {
1517-
targets = (await process.iorunv(config.executable, ["l", getTargetInformationsScript], { "COLORTERM": "nocolor" }, config.workingDirectory)).stdout.trim();
1515+
const getTargetsScript = utils.getAssetsScriptPath("targets.lua");
1516+
if (fs.existsSync(getTargetsScript)) {
1517+
targets = (await process.iorunv(config.executable, ["l", getTargetsScript], { "COLORTERM": "nocolor" }, config.workingDirectory)).stdout.trim();
15181518
}
15191519

15201520
// select target

0 commit comments

Comments
 (0)