Skip to content

Commit

Permalink
fix context helmFile reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jun 21, 2024
1 parent 11c4193 commit b543a1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/js/packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ export const loadConfig = (argv: any): Config => {
});

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

Expand Down

0 comments on commit b543a1e

Please sign in to comment.