*Process json after saving to store in active config
This commit is contained in:
parent
30de3530fc
commit
c98b544689
|
@ -176,10 +176,10 @@ export default class Config {
|
|||
assert(typeof data === "object");
|
||||
assert(!Array.isArray(data));
|
||||
|
||||
fs.writeFileSync(
|
||||
Path.join(this.str("configdir"), file),
|
||||
JSON.stringify(data)
|
||||
);
|
||||
const fullPath = Path.join(this.str("configdir"), file);
|
||||
|
||||
fs.writeFileSync(fullPath, JSON.stringify(data));
|
||||
this.openJson(fullPath);
|
||||
}
|
||||
|
||||
public filter(name: string) {
|
||||
|
|
Loading…
Reference in New Issue