We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6749eb0 commit 81e149dCopy full SHA for 81e149d
dist/index.js
@@ -90,6 +90,7 @@ function run() {
90
core.setFailed(error.message);
91
});
92
core.info(output);
93
+ output = removeStarLines(output);
94
output = output.replace(/%/g, '%25');
95
output = output.replace(/\n/g, '%0A');
96
output = output.replace(/\r/g, '%0D');
@@ -100,6 +101,11 @@ function run() {
100
101
102
103
}
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
+}
109
run();
110
111
0 commit comments