Skip to content

Commit

Permalink
fixed configuration migration bug from v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Oct 27, 2017
1 parent 72da9ef commit 5065fae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/modifiers/user-configuration.modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const userConfiguration: JsonValidatorModifier = {
method: (oldValue) => oldValue === undefined ? false : !!!oldValue,
oldValuePath: 'enabled'
},
'parserType': { method: (oldValue) => (typeof oldValue === 'string' && /glob-regex/i.test(oldValue)) ? 'Glob-regex' : oldValue },
'executableArgs': { method: replaceVariables_undefined },
'onlineImageQueries': { method: replaceVariables_undefined },
'localImages': { method: replaceVariables_undefined },
Expand Down

0 comments on commit 5065fae

Please sign in to comment.