chore: rm useless checking

This expression always evaluates to true.
This commit is contained in:
薛定谔的猫 2018-04-12 00:23:21 +08:00 committed by GitHub
parent 0b1e9d8e09
commit 4f3e414820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ module.exports = class RuntimeTemplate {
} else if (originModule.buildMeta.strictHarmonyModule) {
if (exportName) {
return "/* non-default import from non-esm module */undefined";
} else if (!exportName) {
} else {
if (asiSafe) {
return `/*#__PURE__*/{ /* fake namespace object */ "default": ${importVar} }`;
} else {