jeff-zucker / solid-auth-cli

a node/command-line Solid client with persistent login
MIT License
10 stars 8 forks source link

Add fallback value for config path #11

Closed ludwigschub closed 4 years ago

ludwigschub commented 4 years ago

Otherwise libraries that use solid-auth-cli will cause a type error in the browser environment

See: https://github.com/browserify/path-browserify/blob/872fec31a8bac7b9b43be0e54ef3037e0202c5fb/index.js#L29

jeff-zucker commented 4 years ago

Thanks for spotting this. I went with a combination of your suggestion and https://github.com/jeff-zucker/solid-auth-cli/pull/12.