This commit is contained in:
Clem
2023-07-07 15:15:13 +02:00
parent 82a262026f
commit a4136bec6e
3 changed files with 9 additions and 9 deletions

View File

@@ -205,7 +205,7 @@ export class ConfigService {
// Scrub undefined values
let cleanStore = JSON.parse(JSON.stringify(this._store))
cleanStore = await this.maybeEncryptConfig(cleanStore)
await this.platform.saveConfig(yaml.dump(cleanStore, {skipInvalid: true}))
await this.platform.saveConfig(yaml.dump(cleanStore, { skipInvalid: true }))
this.emitChange()
}
@@ -213,7 +213,7 @@ export class ConfigService {
* Reads config YAML as string
*/
readRaw (): string {
return yaml.dump(this._store, {skipInvalid: true})
return yaml.dump(this._store, { skipInvalid: true })
}
/**