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
Thank you for bringing this up. I've gone back and forth on how to treat empty env vars, but I think I agree with you that they should be treated as set and override any defaults defined on the flag. I could see applications depending on this behavior, but given that IsSet only actually worked with env vars (#502) as of this past month (and hasn't been officially released), I'm OK with modifying it.
Activity
[-]isset returns true for empty env vars[/-][+]c.IsSet returns true for empty env vars[/+]jszwedko commentedon Sep 3, 2016
Hi @vikstrous,
Thank you for bringing this up. I've gone back and forth on how to treat empty env vars, but I think I agree with you that they should be treated as set and override any defaults defined on the flag. I could see applications depending on this behavior, but given that
IsSetonly actually worked with env vars (#502) as of this past month (and hasn't been officially released), I'm OK with modifying it.