From f50c928b441833a0ce117b574bff1016a9e1c5e0 Mon Sep 17 00:00:00 2001 From: Pat Brisbin Date: Wed, 21 Feb 2024 09:23:09 -0500 Subject: [PATCH] Update src/stack-cli.ts --- src/stack-cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");