remove unused toPath
This commit is contained in:
parent
f7cc5f12f0
commit
765185f1ee
|
@ -70,7 +70,6 @@ module.exports = class Config {
|
|||
let initialVals = _.get(this[pendingSets], key);
|
||||
if (initialVals) {
|
||||
this.set(key, initialVals);
|
||||
const path = toPath(key);
|
||||
unset(this[pendingSets], key);
|
||||
} else {
|
||||
this._commit(this[vals]);
|
||||
|
|
Loading…
Reference in a new issue