aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-06-09 17:00:57 +0100
committerGitHub <noreply@github.com>2020-06-10 00:00:57 +0800
commit1d15f51238559bf0c508d2eddcd0f9d70517b82b (patch)
tree4b421d2f4b4739eeca6e8fc35742ecec57abf740 /bin
parented7c82fa5eeffba48513f017ec8115e88b9638ac (diff)
downloadtracifyjs-1d15f51238559bf0c508d2eddcd0f9d70517b82b.tar.gz
tracifyjs-1d15f51238559bf0c508d2eddcd0f9d70517b82b.zip
improve fix for #3976 (#3980)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uglifyjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index fcbdff66..da2528d6 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -112,7 +112,7 @@ function process_option(name, no_value) {
" --verbose Print diagnostic messages.",
" --warn Print warning messages.",
" --wrap <name> Embed everything as a function with “exports” corresponding to “name” globally.",
- " --reduce-test Reduce a standalone test case.",
+ " --reduce-test Reduce a standalone test case (assumes cloned repository).",
].join("\n"));
}
process.exit();
@@ -303,7 +303,7 @@ function run() {
}
var result;
if (specified["reduce-test"]) {
- // load on demand - assumes dev tree checked out
+ // load on demand - assumes cloned repository
var reduce_test = require("../test/reduce");
if (Object.keys(files).length != 1) fatal("can only test on a single file");
result = reduce_test(files[Object.keys(files)[0]], options, {