Vault.writeConfigJson method
Vault › writeConfigJson
Unofficial
Write a config file to disk.Signature:
writeConfigJson(config: string, data: object, pretty?: boolean | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| config | string | Name of config file. |
| data | object | Data to write. |
| pretty? | boolean | undefined | Whether to insert tabs or spaces. |
Returns: Promise<void> — A promise that resolves when the config file is written.