Skip to content

Commit

Permalink
[CMakeV1 hotfix] Disabled command cmake command execution through she…
Browse files Browse the repository at this point in the history
…ll (#13064)

* Disabled command execution through shell.

(cherry picked from commit 2498ebc)

* Changed CMakveV1 task version
  • Loading branch information
egor-bryzgalov authored Jun 4, 2020
1 parent 08093cd commit 78dec87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tasks/CMakeV1/cmaketask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function run() {
cmake.line(tl.getInput('cmakeArgs', false));

const options: trm.IExecOptions = <trm.IExecOptions>{
shell: true
shell: false
};

const code: number = await cmake.exec(options);
Expand Down
2 changes: 1 addition & 1 deletion Tasks/CMakeV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"version": {
"Major": 1,
"Minor": 170,
"Patch": 1
"Patch": 2
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "CMake $(cmakeArgs)",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/CMakeV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"version": {
"Major": 1,
"Minor": 170,
"Patch": 1
"Patch": 2
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
Expand Down

0 comments on commit 78dec87

Please sign in to comment.