feat(repo): support local repositories (#4890)

* feat(repo): support local repositories

* fix tests

* test: fix client/server tests

* docs: update

* test: add fs tests

* test: do not update golden files if overridden

* docs: remove a comment about fs deprecation
This commit is contained in:
Teppei Fukuda
2023-07-31 14:27:36 +03:00
committed by GitHub
parent 3c19761875
commit d19c7d9f29
124 changed files with 454 additions and 446 deletions

View File

@@ -113,7 +113,7 @@ func TestVM(t *testing.T) {
// Run "trivy vm"
err = execute(osArgs)
require.NoError(t, err)
compareReports(t, goldenFile, outputFile)
compareReports(t, goldenFile, outputFile, nil)
})
}
}