This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
CLI getIpfs uses wrong args object #1947
Labels
exp/novice
Someone with a little familiarity can pick up
kind/bug
A bug in existing code (including security flaws)
P3
Low: Not priority right now
Type: Bug
Severity: High
Description:
this line
https://github.com/ipfs/js-ipfs/blob/master/src/cli/bin.js#L48
passes an argv obj that wasn't created with our yargs config
This makes cmds like
ipfs add --silent ./path/file
to instantiate IPFS with{ silent : './path/file' }
Right now master doesn't fail because
silent
wasn't added to the validation yet, still this behaviour should be fixed.Steps to reproduce the error:
The text was updated successfully, but these errors were encountered: