Skip to content

Commit

Permalink
fix resolve path for local dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 13, 2024
1 parent 5e2417e commit 30ccfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/js/packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const loadConfig = (argv: any): Config => {
});

if (context.helmFile) {
const dir = dirname(argv.config || process.cwd());
const dir = argv.config ? dirname(argv.config) : process.cwd();
context.helmFile = resolve(resolvePath(dir), context.helmFile);
starship = loadYaml(context.helmFile) as StarshipConfig
}
Expand Down

0 comments on commit 30ccfb5

Please sign in to comment.