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
6573fad823
commit
5defd688ee
@@ -70,7 +70,6 @@ func (pmw *PackageManagerWrapper) scanAndInstall(ctx context.Context, progressTr
|
|||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("fetcher is not of type *registry.NpmFetcher")
|
return fmt.Errorf("fetcher is not of type *registry.NpmFetcher")
|
||||||
}
|
}
|
||||||
ui.IncrementTrackerTotal(progressTracker, 0)
|
|
||||||
npmFetcher.SetProgressTracker(progressTracker)
|
npmFetcher.SetProgressTracker(progressTracker)
|
||||||
|
|
||||||
deps, err := npmFetcher.GetFlattenedDependencies(ctx, name, version)
|
deps, err := npmFetcher.GetFlattenedDependencies(ctx, name, version)
|
||||||
|
|||||||
Reference in New Issue
Block a user