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 ba3ea77 commit 6749eb0Copy full SHA for 6749eb0
src/main.ts
@@ -58,7 +58,7 @@ async function run(): Promise<void> {
58
})
59
60
core.info(output)
61
-
+ output = removeStarLines(output)
62
output = output.replace(/%/g, '%25')
63
output = output.replace(/\n/g, '%0A')
64
output = output.replace(/\r/g, '%0D')
@@ -71,4 +71,10 @@ async function run(): Promise<void> {
71
72
}
73
74
+function removeStarLines(inputString: string, lineBreak: string = '\n'): string {
75
+ const lines = inputString.split(lineBreak)
76
+ const filteredLines = lines.filter(line => line.trim() !== '*')
77
+ return filteredLines.join(lineBreak)
78
+}
79
+
80
run()
0 commit comments