mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
Update pkg/wrapper/npm_base.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com>
This commit is contained in:
committed by
Sahilb315
co-authored by
Copilot
parent
71f05449e5
commit
99c24904dc
@@ -52,6 +52,7 @@ func (pmw *PackageManagerWrapper) Wrap() error {
|
|||||||
|
|
||||||
if err := pmw.scanAndInstall(ctx, progressTracker); err != nil {
|
if err := pmw.scanAndInstall(ctx, progressTracker); err != nil {
|
||||||
if errors.Is(err, ErrPackageInstall) {
|
if errors.Is(err, ErrPackageInstall) {
|
||||||
|
log.Warnf("Skipping package %s due to ErrPackageInstall: %v", pkg, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user