aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-10-27 09:39:33 +0000
committerGitHub <noreply@github.com>2020-10-27 17:39:33 +0800
commit79e5c3f5645b339a98d73cb78e356f61fa618929 (patch)
tree0d27a139c1a5026a3b4b00dfc7c67a77d68f6a2c /bin
parent607f87c5cde7f4f66a43e5986ca692e7f7861f57 (diff)
downloadtracifyjs-79e5c3f5645b339a98d73cb78e356f61fa618929.tar.gz
tracifyjs-79e5c3f5645b339a98d73cb78e356f61fa618929.zip
improve warnings (#4247)
closes #4244
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uglifyjs4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index c6062657..618b88da 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -276,7 +276,9 @@ function convert_ast(fn) {
function run() {
var content = options.sourceMap && options.sourceMap.content;
if (content && content != "inline") {
- UglifyJS.AST_Node.info("Using input source map: " + content);
+ UglifyJS.AST_Node.info("Using input source map: {content}", {
+ content : content,
+ });
options.sourceMap.content = read_file(content, content);
}
try {