@caweb/cli 1.14.1 → 1.14.2

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.
@@ -134,16 +134,14 @@ export default async function start({
134
134
  }
135
135
 
136
136
  // Write CAWeb .wp-env.json file.
137
- if( ! fs.existsSync( configFilePath ) || update ){
138
- spinner.stop()
137
+ spinner.stop()
139
138
 
140
- fs.writeFileSync(
141
- configFilePath,
142
- JSON.stringify( await wpEnvConfig({workDirectoryPath,bare, multisite, subdomain, plugin, theme}), null, 4 )
143
- );
139
+ fs.writeFileSync(
140
+ configFilePath,
141
+ JSON.stringify( await wpEnvConfig({workDirectoryPath,bare, multisite, subdomain, plugin, theme}), null, 4 )
142
+ );
144
143
 
145
- spinner.start('Writing .wp-env.json file...');
146
- }
144
+ spinner.start('Writing .wp-env.json file...');
147
145
 
148
146
  // Set extra configuration for WordPress.
149
147
  // Increase max execution time to 300 seconds.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/cli",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "CAWebPublishing Command Line Interface.",
5
5
  "exports": "./lib/env.js",
6
6
  "type": "module",