aboutsummaryrefslogtreecommitdiff
path: root/lib/minify.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/minify.js')
-rw-r--r--lib/minify.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/minify.js b/lib/minify.js
index c264f695..5f363989 100644
--- a/lib/minify.js
+++ b/lib/minify.js
@@ -33,7 +33,9 @@ function read_source_map(name, toplevel) {
return to_ascii(match[2]);
}
}
- AST_Node.warn("inline source map not found: " + name);
+ AST_Node.warn("inline source map not found: {name}", {
+ name: name,
+ });
}
function parse_source_map(content) {
@@ -258,6 +260,7 @@ function minify(files, options) {
} catch (ex) {
return { error: ex };
} finally {
+ AST_Node.log_function();
AST_Node.disable_validation();
}
}