Skip to content

Commit eefaace

Browse files
authored
Remove redundant chmod on cached executable (#212)
1 parent b9a85a8 commit eefaace

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/utils.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ class Utils {
239239
if (jfExecDir && jfrogExecDir) {
240240
core.addPath(jfExecDir);
241241
core.addPath(jfrogExecDir);
242-
if (!Utils.isWindows()) {
243-
(0, fs_1.chmodSync)((0, path_1.join)(jfExecDir, jfFileName), 0o555);
244-
(0, fs_1.chmodSync)((0, path_1.join)(jfrogExecDir, jfrogFileName), 0o555);
245-
}
246242
return true;
247243
}
248244
return false;

src/utils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,6 @@ export class Utils {
274274
core.addPath(jfExecDir);
275275
core.addPath(jfrogExecDir);
276276

277-
if (!Utils.isWindows()) {
278-
chmodSync(join(jfExecDir, jfFileName), 0o555);
279-
chmodSync(join(jfrogExecDir, jfrogFileName), 0o555);
280-
}
281277
return true;
282278
}
283279
return false;

0 commit comments

Comments
 (0)