Skip to content

Commit 3232858

Browse files
committed
Defaulting to the builtin version
1 parent 022d25f commit 3232858

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BuildTasks/TfxInstaller/v5/TfxInstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function findTfxExecutablePath(basePath: string): string | undefined {
2929
}
3030

3131
try {
32-
const version = taskLib.getInput("version", true);
32+
const version = taskLib.getInput("version", false) || "builtin";
3333
const checkLatest = taskLib.getBoolInput("checkLatest", false) || false;
3434

3535
await getTfx(version, checkLatest);

BuildTasks/TfxInstaller/v5/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"name": "version",
3131
"type": "pickList",
3232
"label": "Version",
33-
"defaultValue": "v0.x",
33+
"defaultValue": "builtin",
3434
"helpMarkDown": "Specify which `tfx-cli` version you want to use. Examples: `v0.9.x`, `>=v0.5.x`.",
3535
"required": true,
3636
"options": {

0 commit comments

Comments
 (0)