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 d28c08b commit f0d576bCopy full SHA for f0d576b
src/gha_logs.rs
@@ -154,6 +154,9 @@ async fn process_logs(
154
scroll-margin-bottom: 15vh;
155
color: #e5534b;
156
}}
157
+ .warning-marker {{
158
+ color: #c69026;
159
+ }}
160
</style>
161
<script type="module" nonce="{nonce}">
162
import {{ AnsiUp }} from '{ANSI_UP_URL}'
@@ -180,6 +183,11 @@ async fn process_logs(
180
183
html = html.replace(/##\[error\]/g, () =>
181
184
`<a id="error-${{++errorCounter}}" class="error-marker">##[error]</a>`
182
185
);
186
+
187
+ // 4.b Add a span around every "##[warning]" string
188
+ html = html.replace(/##\[warning\]/g, () =>
189
+ `<span class="warning-marker">##[warning]</span>`
190
+ );
191
192
// 5. Add the html to the DOM
193
var cdiv = document.getElementById("console");
0 commit comments