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
The current implementation of sanctuary leads deno to show S.Nothing as {}. Example code to trigger the behavior by storing it in file issue.js and executing it with deno run issue.js:
The current implementation of sanctuary leads deno to show
S.Nothing
as{}
. Example code to trigger the behavior by storing it in fileissue.js
and executing it withdeno run issue.js
:The issue stems from Deno not supporting the hook Node.js provides for logging.
Solution: Define a custom inspect function as described here https://doc.deno.land/builtin/stable#Deno.inspect
Deno can be detected as follows:
typeof Deno === 'object' && typeof Deno.customInspect === 'symbol'
The text was updated successfully, but these errors were encountered: