fix(migrate): do not trigger auto migration

This commit is contained in:
Jan De Dobbeleer 2022-03-14 12:41:02 +01:00 committed by Jan De Dobbeleer
parent f3e3fe20a5
commit b4c44ea8d1

View file

@ -41,7 +41,8 @@ A backup of the current config can be found at ~/myconfig.omp.json.bak.`,
Run: func(cmd *cobra.Command, args []string) {
env := &environment.ShellEnvironment{
CmdFlags: &environment.Flags{
Config: config,
Config: config,
Migrate: true,
},
}
env.Init(false)