Fix filename

This commit is contained in:
Varun Sharma 2021-12-18 20:19:25 -08:00
commit 207e77b35f
3 changed files with 3 additions and 3 deletions

2
dist/post/index.js vendored
View file

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

File diff suppressed because one or more lines are too long

View file

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