Commit c86b566
committed
Fix bug preventing updates in pro
The RPC code previously tested return values to see if an error key was
equal to true. In 251c284, this was
changed to check if the error key was truthy.
The pro updater returns an error key with a string describing an error
(or an empty string for no error). Ruby strings evaluate as truthy
which caused the new behavior to throw an error. This prevented
checking for and applying updates.
This reverts to the original behavior of checking for true explicitly
instead of checking for a truthy value.
MSP-122351 parent eedfd53 commit c86b566
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments