Skip to content

Commit 7cd4e31

Browse files
Update lib/mcp/server.js
Co-authored-by: Copilot <[email protected]> Signed-off-by: Brian Horakh <[email protected]>
1 parent 53fed7e commit 7cd4e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mcp/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ function extractProgressFromLine(line) {
444444
}
445445
}
446446

447-
const fractionMatch = line.match(/(\d+)\s*\/\s*(\d+)(?!\d)/);
447+
const fractionMatch = line.match(/(\d+)\s*\/\s*(\d+(?:\.\d+)?)(\b|[^\d]|$)/);
448448
if (fractionMatch) {
449449
const current = Number(fractionMatch[1]);
450450
const total = Number(fractionMatch[2]);

0 commit comments

Comments
 (0)