Skip to content

Commit

Permalink
fix(indexer-agent): if alias does not exist try the actual flag
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jan 4, 2024
1 parent 1b78523 commit 8ce5589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indexer-agent/src/commands/start-multi-network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function parseNetworkSpecifications(
argv: any,
logger: Logger,
): spec.NetworkSpecification[] {
const dir: string = argv.dir
const dir: string = argv.dir || argv['network-specifications-directory']
const yamlFiles = scanDirectoryForYamlFiles(dir, logger)
return parseYamlFiles(yamlFiles)
}
Expand Down

0 comments on commit 8ce5589

Please sign in to comment.