Skip to content

Commit

Permalink
Update src/stack-cli.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin authored Feb 21, 2024
1 parent cf4aaad commit f50c928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class StackCLI {
const stackYamlIdx = args.indexOf("--stack-yaml");
const stackYamlArg = stackYamlIdx >= 0 ? args[stackYamlIdx + 1] : null;

this.config = process.env.STACK_YAML ?? stackYamlArg ?? "stack.yaml";
this.config = stackYamlArg ?? process.env.STACK_YAML ?? "stack.yaml";

// Capture --resolver if given
const resolverIdx = args.indexOf("--resolver");
Expand Down

0 comments on commit f50c928

Please sign in to comment.