You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 24 of set.js:
if (!value) seems to be always false as u can parse "nothing".
After parsing "nothing" you can not change it back via "set edit key value" as the empty key can not be found by: if (!settings[key])
My solution for now:
if (!value && value == "")
The text was updated successfully, but these errors were encountered:
On 24 Aug 2017 17:33, "BannukDE" ***@***.***> wrote:
In line 24 of set.js:
if (!value) seems to be always false as u can parse .
After parsing you can not change it back via "set edit key value" as the
empty key can not be found by: if (!settings[key])
My solution for now:
if (!value && value == "")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AT353jSLa9_UKbndTtZ1w57iHEM7pDd9ks5sbaXbgaJpZM4PBoGu>
.
You're correct that the condition doesn't work, but wrong about the reason. value being an array, an empty array is truthey, not falsey, so that's the issue.
In line 24 of set.js:
if (!value) seems to be always false as u can parse "nothing".
After parsing "nothing" you can not change it back via "set edit key value" as the empty key can not be found by: if (!settings[key])
My solution for now:
if (!value && value == "")
The text was updated successfully, but these errors were encountered: