From 76b6a8292e82dbad533b90c75dfc868b609f4681 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Mon, 21 Nov 2022 12:08:39 -0600 Subject: [PATCH] Small corrections --- src/config-parser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config-parser.js b/src/config-parser.js index e28e2f7..4d461f7 100644 --- a/src/config-parser.js +++ b/src/config-parser.js @@ -155,6 +155,7 @@ class ConfigParser { } // Indirect default export with a wrapping call at the definition else if ( + allowWrappingCall && identifierInitialization && identifierInitialization.type === 'CallExpression' && identifierInitialization.arguments.length > 0 && @@ -245,6 +246,7 @@ class ConfigParser { } // Indirect module export with a wrapping call at the definition else if ( + allowWrappingCall && identifierInitialization && identifierInitialization.type === 'CallExpression' && 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 ( false // ...