Minor tweak to js printer (#10954)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-05-27 18:00:31 +08:00
1 parent 40cd8c9d7e
commit 81a1c46311
7 files changed
+69 -50

No files matched your search

@@ -34,7 +34,7 @@ module.exports = {
/* istanbul ignore next */
if (!variable) {
throw new Error("Unexpected case.");
return;
}
if (!variables.has(variable)) {