mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-30 10:04:52 +00:00
Small corrections
This commit is contained in:
@@ -155,6 +155,7 @@ class ConfigParser {
|
|||||||
}
|
}
|
||||||
// Indirect default export with a wrapping call at the definition
|
// Indirect default export with a wrapping call at the definition
|
||||||
else if (
|
else if (
|
||||||
|
allowWrappingCall &&
|
||||||
identifierInitialization &&
|
identifierInitialization &&
|
||||||
identifierInitialization.type === 'CallExpression' &&
|
identifierInitialization.type === 'CallExpression' &&
|
||||||
identifierInitialization.arguments.length > 0 &&
|
identifierInitialization.arguments.length > 0 &&
|
||||||
@@ -245,6 +246,7 @@ class ConfigParser {
|
|||||||
}
|
}
|
||||||
// Indirect module export with a wrapping call at the definition
|
// Indirect module export with a wrapping call at the definition
|
||||||
else if (
|
else if (
|
||||||
|
allowWrappingCall &&
|
||||||
identifierInitialization &&
|
identifierInitialization &&
|
||||||
identifierInitialization.type === 'CallExpression' &&
|
identifierInitialization.type === 'CallExpression' &&
|
||||||
identifierInitialization.arguments.length > 0 &&
|
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 (
|
else if (
|
||||||
false
|
false
|
||||||
// ...
|
// ...
|
||||||
|
|||||||
Reference in New Issue
Block a user