jfrog / build-info-go

build-info-go is a Go library and a CLI, which allows generating build-info for a source code project.
https://www.buildinfo.org
Apache License 2.0
61 stars 34 forks source link

Missing npm dependencies may return an error #81

Closed yahavi closed 2 years ago

yahavi commented 2 years ago

Fixes https://github.com/jfrog/jfrog-cli/issues/1526 Followup https://github.com/jfrog/build-info-go/pull/78

In case there are missing dependencies in npm cache, we should warn about them and not fail the build. https://github.com/jfrog/build-info-go/pull/78 fix this issue partially - if the last dependency does not exist in the npm cache, an error may still be returned by CalculateNpmDependenciesList.