mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
fix shell source line & trusted pkgs parsing
This commit is contained in:
+3
-3
@@ -36,8 +36,8 @@ type Config struct {
|
||||
}
|
||||
|
||||
type TrustedPackage struct {
|
||||
// Purl of the trusted package. Eg. pkg:npm/express@5.2.1
|
||||
Purl []string `mapstructure:"purls"`
|
||||
// Purls of the trusted package. Eg. pkg:npm/express@5.2.1
|
||||
Purls []string `mapstructure:"purls"`
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -57,7 +57,7 @@ func DefaultConfig() Config {
|
||||
Paranoid: false,
|
||||
DryRun: false,
|
||||
InsecureInstallation: false,
|
||||
TrustedPackages: TrustedPackage{Purl: []string{}},
|
||||
TrustedPackages: TrustedPackage{Purls: []string{}},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user