Skip to content

Commit e4ac4d0

Browse files
committed
script: trivial cleanup
Signed-off-by: Felipe Contreras <[email protected]>
1 parent 115b1ce commit e4ac4d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ function doMath(input) {
1313
try {
1414
output_line = math.format(math.evaluate(line, scope), 14);
1515
} catch(e) {
16-
output_line = e;
16+
output_line = e.toString();
1717
}
1818
}
1919
}
20-
output.push(output_line.toString());
20+
output.push(output_line);
2121
}
2222

2323
results.updateCode(output.join('\n'));

0 commit comments

Comments
 (0)