OfficeDev / office-js-helpers

[ARCHIVED] A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs
MIT License
126 stars 56 forks source link

Storage.has(key) returns true even when the key actually doesn't exist. #126

Open yutao-huang opened 5 years ago

yutao-huang commented 5 years ago

Storage.has(key) returns true even when the key actually doesn't exist.

This incorrect behavior is also impacting things like authenticator.endpoints.has(...), which always mistakenly returns true for an actually not registered endpoint.

I have a pull-request to address this: #125. Could someone help to take a look?

Thanks!