mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-06 00:17:06 +00:00
Fix filename
This commit is contained in:
parent
199a1504b6
commit
207e77b35f
3 changed files with 3 additions and 3 deletions
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
|
|
@ -1746,7 +1746,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|||
// write annotations
|
||||
var annotationsFile = "/home/agent/annotation.log";
|
||||
if (external_fs_.existsSync(annotationsFile)) {
|
||||
var content = external_fs_.readFileSync(status, "utf-8");
|
||||
var content = external_fs_.readFileSync(annotationsFile, "utf-8");
|
||||
content.split(/\r?\n/).forEach((line) => {
|
||||
core.error(line);
|
||||
});
|
||||
|
|
|
|||
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -47,7 +47,7 @@ import * as core from "@actions/core";
|
|||
// write annotations
|
||||
var annotationsFile = "/home/agent/annotation.log";
|
||||
if (fs.existsSync(annotationsFile)) {
|
||||
var content = fs.readFileSync(status, "utf-8");
|
||||
var content = fs.readFileSync(annotationsFile, "utf-8");
|
||||
content.split(/\r?\n/).forEach((line) => {
|
||||
core.error(line);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue