This repository has been archived by the owner on Feb 12, 2024. 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: only try to get ipfs if argv is present (#2504)
Sometimes you've done something silly like required a module that isn't installed or called a method that isn't a property of an object in which case `argv` won't have a value, causing an unrelated error to appear. This PR just makes sure `argv` has a value before trying to access `argv.getIpfs`
- Loading branch information