Skip to content

Commit

Permalink
Update src/config-parser.js
Browse files Browse the repository at this point in the history
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
  • Loading branch information
2 people authored and GitHub committed Aug 9, 2022
1 parent 68595d0 commit 891eba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' &&
Expand Down

0 comments on commit 891eba7

Please sign in to comment.