Skip to content

Commit 81e149d

Browse files
committed
update dist
1 parent 6749eb0 commit 81e149d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ function run() {
9090
core.setFailed(error.message);
9191
});
9292
core.info(output);
93+
output = removeStarLines(output);
9394
output = output.replace(/%/g, '%25');
9495
output = output.replace(/\n/g, '%0A');
9596
output = output.replace(/\r/g, '%0D');
@@ -100,6 +101,11 @@ function run() {
100101
});
101102
});
102103
}
104+
function removeStarLines(inputString, lineBreak = '\n') {
105+
const lines = inputString.split(lineBreak);
106+
const filteredLines = lines.filter(line => line.trim() !== '*');
107+
return filteredLines.join(lineBreak);
108+
}
103109
run();
104110

105111

0 commit comments

Comments
 (0)