mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 19:37:46 +08:00
PathOrCidPath was returning the error from the second path.NewPath call instead of the original error when both attempts failed. This fix preserves the first error before attempting the fallback, ensuring users get the most relevant error message about their input. |
||
|---|---|---|
| .. | ||
| commands | ||
| coreapi | ||
| corehttp | ||
| coreiface | ||
| corerepo | ||
| coreunix | ||
| mock | ||
| node | ||
| .gitignore | ||
| builder.go | ||
| core_test.go | ||
| core.go | ||