From 891eba7f6e333ffc2c76b5e1bed5f238b0aecc9a Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Tue, 9 Aug 2022 11:22:14 -0500 Subject: [PATCH] Update src/config-parser.js Co-authored-by: Yoann Chaudet --- src/config-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config-parser.js b/src/config-parser.js index b034feb..0f510a5 100644 --- a/src/config-parser.js +++ b/src/config-parser.js @@ -66,7 +66,7 @@ class ConfigParser { // Indirect default export else if (defaultExport && defaultExport.declaration.type === 'Identifier') { - const identifierName = defaultExport && defaultExport.declaration.name + const identifierName = defaultExport.declaration.name const identifierDefinition = ast.body.find( node => node.type === 'VariableDeclaration' &&