Skip to content

Commit

Permalink
Fix parse of module name
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Jun 26, 2024
1 parent d226c4e commit 4b483de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54130,7 +54130,7 @@ function parseModuleNames(input) {
const config = dist/* parse */.Qc(configFile);
core.debug(`Parsed ${bufYamlPath}: ${JSON.stringify(config)}`);
if (config.name) {
return [config.name];
return [parseModuleName(config.name)];
}
if (config.modules) {
return config.modules
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function parseModuleNames(input: string): ModuleName[] {
const config = yaml.parse(configFile);
core.debug(`Parsed ${bufYamlPath}: ${JSON.stringify(config)}`);
if (config.name) {
return [config.name];
return [parseModuleName(config.name)];
}
if (config.modules) {
return config.modules
Expand Down

0 comments on commit 4b483de

Please sign in to comment.