This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve bin using env var, then fall back to module (#383)
We were importing `'go-ipfs'` if `IPFS_GO_IPFS_MODULE` wasn't set in the env, but we only need `'go-ipfs'` to get the bin path, which should be settable using the `IPFS_GO_EXEC` env var, so if we have that, don't try to load `'go-ipfs'`.
- Loading branch information