@vyr/cli 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,10 +42,14 @@ module.exports = {
42
42
  const env = join(cwd.editor, '.env.json')
43
43
  if (fs.existsSync(env)) {
44
44
  const envConfig = fs.readJsonSync(env)
45
- if (envConfig.build) envParams.build = true
45
+ if (envConfig.build) {
46
+ envParams.build = true
47
+ envConfig.build = false
48
+ fs.writeJSONSync(env, envConfig)
49
+ }
46
50
  } else {
47
51
  fs.ensureFileSync(env)
48
- fs.writeJSONSync(env, { build: true })
52
+ fs.writeJSONSync(env, { build: false })
49
53
  envParams.build = true
50
54
  }
51
55