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
This version handles and swallows errors related to the incorrect usage of process.stdin by callers, which manifests in EPIPE, EOF and ECONNECT errors, depending on the underlying OS.
This version adds a check to options.stdin because '' (empty string) should be handled differently to undefined, despite JavaScript considering them both falsy. See #163 for more details