Skip to content

Commit 6fe2325

Browse files
authored
Fix GoSec issues (#506)
1 parent 9232354 commit 6fe2325

File tree

10 files changed

+1201
-1302
lines changed

10 files changed

+1201
-1302
lines changed

action/lib/utils.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ class Utils {
156156
return __awaiter(this, void 0, void 0, function* () {
157157
let cliDir = yield (0, tool_cache_1.cacheFile)(downloadDir, fileName, Utils.TOOL_NAME, version);
158158
if (!Utils.isWindows()) {
159-
(0, fs_1.chmodSync)((0, path_1.join)(cliDir, fileName), 0o555);
159+
let filePath = (0, path_1.normalize)((0, path_1.join)(cliDir, fileName));
160+
(0, fs_1.chmodSync)(filePath, 0o555);
160161
}
161162
core.addPath(cliDir);
162163
});

action/node_modules/.package-lock.json

+35-71
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)