versioning fixes
This commit is contained in:
parent
d134c6b297
commit
79194bcafc
@ -68,7 +68,7 @@ function optionsSetDefaults(options) {
|
||||
|
||||
function optionsVersion(options) {
|
||||
const copy = (targetDict, targetKey, sourceDict, sourceKey) => {
|
||||
targetDict[targetKey] = sourceDict[sourceKey] || targetDict[targetKey];
|
||||
targetDict[targetKey] = sourceDict.hasOwnProperty(sourceKey) ? sourceDict[sourceKey] : targetDict[targetKey];
|
||||
};
|
||||
|
||||
options.version = options.version || 0;
|
||||
|
Loading…
Reference in New Issue
Block a user