Closed ipetkov closed 5 months ago
We don't need to nest cleanCargoSource and path just to populate a default value for name. As they both ultimately delegate to builtins.path, the nesting can lead to IFD in situations which are otherwise avoidable
cleanCargoSource
path
name
builtins.path
Fixes https://github.com/ipetkov/crane/issues/612
docs/API.md
CHANGELOG.md
Motivation
We don't need to nest
cleanCargoSource
andpath
just to populate a default value forname
. As they both ultimately delegate tobuiltins.path
, the nesting can lead to IFD in situations which are otherwise avoidableFixes https://github.com/ipetkov/crane/issues/612
Checklist
docs/API.md
(or general documentation) with changesCHANGELOG.md