clever-tools 4.6.0 → 4.6.1
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/package.json +1 -1
- package/src/config/config.js +1 -1
package/package.json
CHANGED
package/src/config/config.js
CHANGED
|
@@ -212,7 +212,7 @@ export async function removeProfile(alias) {
|
|
|
212
212
|
async function updateConfigFile(newConfig) {
|
|
213
213
|
Logger.debug('Write the new config in the configuration file…');
|
|
214
214
|
try {
|
|
215
|
-
await writeJson(baseConfig.CONFIGURATION_FILE, newConfig, { mode:
|
|
215
|
+
await writeJson(baseConfig.CONFIGURATION_FILE, newConfig, { mode: 0o700 });
|
|
216
216
|
reloadConfig();
|
|
217
217
|
} catch (error) {
|
|
218
218
|
throw new Error(`Cannot write configuration to ${baseConfig.CONFIGURATION_FILE}\n${error.message}`);
|