mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-18 10:30:01 +00:00
fix Eugeny/tabby#8534 by @Eugeny
This commit is contained in:
parent
eea3ab9c74
commit
47a6e81998
@ -213,7 +213,9 @@ export class ConfigService {
|
|||||||
* Reads config YAML as string
|
* Reads config YAML as string
|
||||||
*/
|
*/
|
||||||
readRaw (): string {
|
readRaw (): string {
|
||||||
return yaml.dump(this._store)
|
// Scrub undefined values
|
||||||
|
const cleanStore = JSON.parse(JSON.stringify(this._store))
|
||||||
|
return yaml.dump(cleanStore)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user