fix(cli/repl): await Promise.any([])... (#15623)

This commit is contained in:
Jason 2022-09-02 19:38:06 +08:00 committed by GitHub
parent a74b2ecf37
commit 8178665bd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 7 deletions

View file

@ -959,6 +959,8 @@
if (RegExpPrototypeTest(/\s+at/, line)) {
ArrayPrototypeUnshift(stackLines, line);
break;
} else if (typeof line === "undefined") {
break;
}
finalMessage += line;