mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-31 02:24:52 +00:00
Update src/config-parser.js
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
This commit is contained in:
@@ -66,7 +66,7 @@ class ConfigParser {
|
|||||||
|
|
||||||
// Indirect default export
|
// Indirect default export
|
||||||
else if (defaultExport && defaultExport.declaration.type === 'Identifier') {
|
else if (defaultExport && defaultExport.declaration.type === 'Identifier') {
|
||||||
const identifierName = defaultExport && defaultExport.declaration.name
|
const identifierName = defaultExport.declaration.name
|
||||||
const identifierDefinition = ast.body.find(
|
const identifierDefinition = ast.body.find(
|
||||||
node =>
|
node =>
|
||||||
node.type === 'VariableDeclaration' &&
|
node.type === 'VariableDeclaration' &&
|
||||||
|
|||||||
Reference in New Issue
Block a user