summaryrefslogtreecommitdiff
path: root/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util.ts')
-rw-r--r--util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.ts b/util.ts
index 7ac7b155c..70cb79a55 100644
--- a/util.ts
+++ b/util.ts
@@ -14,7 +14,7 @@ export function log(...args: any[]): void {
export function assert(cond: boolean, msg = "") {
if (!cond) {
- throw Error("Assert fail. " + msg);
+ throw Error(`Assert fail. ${msg}`);
}
}