1
0
Fork 0
mirror of synced 2026-06-05 15:55:14 +00:00

Update filename

This commit is contained in:
Varun Sharma 2021-12-18 18:07:33 -08:00
commit 014b0b3377
3 changed files with 3 additions and 3 deletions

2
dist/post/index.js vendored
View file

@ -1767,7 +1767,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
// write annotations
var annotationsFile = "/home/agent/annotation.log";
if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(annotationsFile)) {
var content = fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(status, "utf-8");
var content = fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(annotationsFile, "utf-8");
content.split(/\r?\n/).forEach((line) => {
_actions_core__WEBPACK_IMPORTED_MODULE_1__.error(line);
});

File diff suppressed because one or more lines are too long

View file

@ -43,7 +43,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);
});