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:
Sahil Bansal
2025-05-05 01:44:37 +05:30
committed by Sahilb315
co-authored by Copilot
parent 6573fad823
commit 5defd688ee
-1
View File
@@ -70,7 +70,6 @@ func (pmw *PackageManagerWrapper) scanAndInstall(ctx context.Context, progressTr
if !ok {
return fmt.Errorf("fetcher is not of type *registry.NpmFetcher")
}
ui.IncrementTrackerTotal(progressTracker, 0)
npmFetcher.SetProgressTracker(progressTracker)
deps, err := npmFetcher.GetFlattenedDependencies(ctx, name, version)