fixed configproxy

This commit is contained in:
Eugene Pankov 2021-07-13 10:28:08 +02:00
parent 50c20f08f8
commit d7741f07a1
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -1,3 +1,4 @@
import deepClone from 'clone-deep'
import deepEqual from 'deep-equal'
import { v4 as uuidv4 } from 'uuid'
import * as yaml from 'js-yaml'
@ -71,7 +72,7 @@ export class ConfigProxy {
delete real[key].__nonStructural
return real[key]
} else {
return defaults[key]
return deepClone(defaults[key])
}
}