parser: delete noSync after converting it to bypass to prevent old session from getting stuck with bypass=true
This commit is contained in:
parent
ef17a2c955
commit
08b54d2ef1
1 changed files with 4 additions and 2 deletions
|
|
@ -36,8 +36,10 @@ var Parser = class Parser {
|
|||
// Backward compatibility patches
|
||||
if (props.path) props.address = props.path
|
||||
if (props.noPip) props.pips = !props.noPip
|
||||
if (props.noSync) props.bypass = props.noSync
|
||||
|
||||
if (props.noSync) {
|
||||
props.bypass = props.noSync
|
||||
delete props.noSync
|
||||
}
|
||||
// Safe copy widget's options
|
||||
let defaults = this.widgets[props.type].defaults()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue