Skip to content

Commit

Permalink
Small corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and James M. Greene committed Nov 21, 2022
1 parent 8e221f2 commit 76b6a82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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 &&
Expand All @@ -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
// ...
Expand Down

0 comments on commit 76b6a82

Please sign in to comment.