thank you for letting me in on the joke 😄
and for catching my error!
thank you for letting me in on the joke 😄
and for catching my error!
yeah, it’s funny how my brain collapsed the boolean check into if (role)
rather than if (role === true)
- that’s tricky
what is FILE_NOT_FOUND
? I can’t find much on it …
if it’s 'FILE_NOT_FOUND'
then the string will be read as truthy and you will get 'User is admin'
logged.
haha, yes - exactly! At least I got that reference, xkcd is pretty well known, though.