@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.
- package/commands/env/start.js +6 -8
- package/package.json +1 -1
package/commands/env/start.js
CHANGED
|
@@ -134,16 +134,14 @@ export default async function start({
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
// Write CAWeb .wp-env.json file.
|
|
137
|
-
|
|
138
|
-
spinner.stop()
|
|
137
|
+
spinner.stop()
|
|
139
138
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
fs.writeFileSync(
|
|
140
|
+
configFilePath,
|
|
141
|
+
JSON.stringify( await wpEnvConfig({workDirectoryPath,bare, multisite, subdomain, plugin, theme}), null, 4 )
|
|
142
|
+
);
|
|
144
143
|
|
|
145
|
-
|
|
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.
|