Closed maxks closed 3 years ago
@krocheck I using that condition because Julian wrote me this:
"@maxks in the upgradeScript config can sometimes be null, so you need to null check it first"
So I thought that if config exist and varaibles were set, the changes value is always true.
Oh yeah ... forgot about that aspect of how the scripts execution changed. Ignore me
@maxks frankly, this change makes no sense because config is always going to be passed to the upgrade, so you're checking for something that's (hopefully) always going to exist. It would be better to use your inline logic conditionals as
if
statements and then markchanged
astrue
if you make a change.