Skip to content

Commit

Permalink
Fix GoSec issues (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 authored Sep 19, 2023
1 parent 9232354 commit 6fe2325
Show file tree
Hide file tree
Showing 10 changed files with 1,201 additions and 1,302 deletions.
3 changes: 2 additions & 1 deletion action/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ class Utils {
return __awaiter(this, void 0, void 0, function* () {
let cliDir = yield (0, tool_cache_1.cacheFile)(downloadDir, fileName, Utils.TOOL_NAME, version);
if (!Utils.isWindows()) {
(0, fs_1.chmodSync)((0, path_1.join)(cliDir, fileName), 0o555);
let filePath = (0, path_1.normalize)((0, path_1.join)(cliDir, fileName));
(0, fs_1.chmodSync)(filePath, 0o555);
}
core.addPath(cliDir);
});
Expand Down
106 changes: 35 additions & 71 deletions action/node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6fe2325

Please sign in to comment.