workaround asynchronous tty bugs on Node.js (#4473)

This commit is contained in:
Alex Lam S.L
2020-12-28 05:32:07 +00:00
committed by GitHub
parent 28bcdbd7df
commit c00efe56f4
6 changed files with 26 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
var site = "https://browserbench.org/JetStream1.1";
if (typeof phantom == "undefined") {
require("../tools/exit");
require("../tools/tty");
var args = process.argv.slice(2);
var debug = args.indexOf("--debug");
if (debug < 0) {