diff --git a/src/stack-cli.ts b/src/stack-cli.ts index c606175..5c88afa 100644 --- a/src/stack-cli.ts +++ b/src/stack-cli.ts @@ -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");