Skip to content

Commit c1f97a8

Browse files
allow missing stackfile for beta
1 parent ab3d0a1 commit c1f97a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cmd/cli/command/globals.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ func loadStackFile(stackName string) error {
254254
// Check for conflicts before loading
255255
err := checkEnvConflicts(stackName)
256256
if err != nil {
257+
// For the default "beta" stack, make it optional if the file doesn't exist
258+
if stackName == "beta" && os.IsNotExist(err) {
259+
return nil
260+
}
257261
return err
258262
}
259263

0 commit comments

Comments
 (0)