We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168b6b5 commit 6e202ffCopy full SHA for 6e202ff
src/logs/model.ts
@@ -1,4 +1,4 @@
1
-const ansiColorRE = /\u001b\[((?:\d+;?)+)m(.*)\u001b\[0m/gm;
+const ansiColorRE = /\u001b\[((?:\d+;?)+)m(.*)\u001b\[0m/gmu;
2
const groupMarker = '##[group]';
3
const commandRE = /##\[[a-z]+\]/gm;
4
@@ -65,7 +65,7 @@ export function parseLog(log: string): LogInfo {
65
sections.push(currentRange);
66
}
67
68
- const name = line.substr(groupMarkerStart + groupMarker.length);
+ const name = line.substring(groupMarkerStart + groupMarker.length);
69
70
currentRange = {
71
name,
0 commit comments