mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 22:12:28 +01:00
fix tests to use location instead of file.Reference
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func (cfg *Application) Build() error {
|
||||
cfg.PresenterOpt = presenterOption
|
||||
|
||||
// set the source
|
||||
scopeOption := source.ParseOption(cfg.Scope)
|
||||
scopeOption := source.ParseScope(cfg.Scope)
|
||||
if scopeOption == source.UnknownScope {
|
||||
return fmt.Errorf("bad --scope value '%s'", cfg.Scope)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user