Skip to content

Commit

Permalink
Fixes #14342. FuncToolsInstaller - Make gozip executable (#14635)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkya599 authored Mar 24, 2021
1 parent b1fc57b commit e5cfd25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Tasks/FuncToolsInstallerV0/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ async function downloadFuncToolsInternal(version: string): Promise<string> {

const funcPath = path.join(cachedToolpath, funcToolName + getExecutableExtension());
fs.chmodSync(funcPath, '777');
const gozipPath = path.join(cachedToolpath, 'gozip' + getExecutableExtension());
if (fs.existsSync(gozipPath)) {
fs.chmodSync(gozipPath, '777');
}

return funcPath;
}

Expand Down
2 changes: 1 addition & 1 deletion Tasks/FuncToolsInstallerV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 180,
"Minor": 185,
"Patch": 0
},
"preview": true,
Expand Down
2 changes: 1 addition & 1 deletion Tasks/FuncToolsInstallerV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 180,
"Minor": 185,
"Patch": 0
},
"preview": true,
Expand Down

0 comments on commit e5cfd25

Please sign in to comment.