fix(cli): make demo mode writable
This commit is contained in:
1 parent
0553d60a58
commit
411e75e799
1 file changed
+1
-1
@@ -70,7 +70,7 @@ func BuildPlan(opts Options) (*Plan, error) {
|
|||||||
}
|
}
|
||||||
p.Env = append(p.Env, opts.Env...)
|
p.Env = append(p.Env, opts.Env...)
|
||||||
if opts.Demo {
|
if opts.Demo {
|
||||||
p.Env = append(p.Env, "DEMO_MODE=true", "UNSAFE_ENABLE_MOCK_INTEGRATION=true")
|
p.Env = append(p.Env, "DEMO_MODE=true", "DEMO_READ_ONLY=false", "UNSAFE_ENABLE_MOCK_INTEGRATION=true")
|
||||||
p.Label += " (demo)"
|
p.Label += " (demo)"
|
||||||
}
|
}
|
||||||
return p, nil
|
return p, nil
|
||||||
|
|||||||
Reference in new issue
Block a user