Small corrections

This commit is contained in:
James M. Greene
2022-11-21 12:08:39 -06:00
parent 8e221f24db
commit 76b6a8292e

View File

@@ -155,6 +155,7 @@ class ConfigParser {
} }
// Indirect default export with a wrapping call at the definition // Indirect default export with a wrapping call at the definition
else if ( else if (
allowWrappingCall &&
identifierInitialization && identifierInitialization &&
identifierInitialization.type === 'CallExpression' && identifierInitialization.type === 'CallExpression' &&
identifierInitialization.arguments.length > 0 && identifierInitialization.arguments.length > 0 &&
@@ -245,6 +246,7 @@ class ConfigParser {
} }
// Indirect module export with a wrapping call at the definition // Indirect module export with a wrapping call at the definition
else if ( else if (
allowWrappingCall &&
identifierInitialization && identifierInitialization &&
identifierInitialization.type === 'CallExpression' && identifierInitialization.type === 'CallExpression' &&
identifierInitialization.arguments.length > 0 && identifierInitialization.arguments.length > 0 &&
@@ -256,7 +258,7 @@ class ConfigParser {
} }
} }
// Indirect default export with a wrapping call at the export // Indirect module export with a wrapping call at the export
else if ( else if (
false false
// ... // ...