mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
update config handling and add support for removing config
This commit is contained in:
@@ -58,6 +58,7 @@ func (f *commonFlow) Run(ctx context.Context, args []string, parsedCmd *packagem
|
||||
guardConfig := guard.DefaultPackageManagerGuardConfig()
|
||||
guardConfig.DryRun = f.config.DryRun
|
||||
guardConfig.InsecureInstallation = f.config.InsecureInstallation
|
||||
guardConfig.TrustedPackages = f.config.TrustedPackages
|
||||
|
||||
proxy, err := guard.NewPackageManagerGuard(guardConfig, f.pm, f.packageResolver, analyzers, interaction)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user