mirror of
https://github.com/anchore/syft.git
synced 2026-07-05 02:28:25 +02:00
config: default false
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
16ac0f0628
commit
7050c09094
@ -80,7 +80,7 @@ func DefaultCatalogerConfig() CatalogerConfig {
|
|||||||
UsePackagesLib: true,
|
UsePackagesLib: true,
|
||||||
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
||||||
LocalModCacheDir: defaultGoModDir(),
|
LocalModCacheDir: defaultGoModDir(),
|
||||||
CaptureSymbols: true,
|
CaptureSymbols: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
// first process the proxy settings
|
// first process the proxy settings
|
||||||
|
|||||||
@ -58,7 +58,7 @@ func Test_Config(t *testing.T) {
|
|||||||
NoProxy: []string{"my.private", "no.proxy"},
|
NoProxy: []string{"my.private", "no.proxy"},
|
||||||
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
||||||
UsePackagesLib: true,
|
UsePackagesLib: true,
|
||||||
CaptureSymbols: true,
|
CaptureSymbols: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -87,7 +87,7 @@ func Test_Config(t *testing.T) {
|
|||||||
NoProxy: []string{"alt.no.proxy"},
|
NoProxy: []string{"alt.no.proxy"},
|
||||||
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
MainModuleVersion: DefaultMainModuleVersionConfig(),
|
||||||
UsePackagesLib: true,
|
UsePackagesLib: true,
|
||||||
CaptureSymbols: true,
|
CaptureSymbols: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user