Add Repository Settings to Search Options

Signed-off-by: Emanuel Bennici <eb@fabmation.de>
pull/7021/head
Emanuel Bennici 6 years ago
parent 72cd4d38e5
commit 5d668e6a4f
No known key found for this signature in database
GPG Key ID: 17FA2D56BAD01661

@ -93,11 +93,13 @@ func newOutdatedListWriter(releases []*release.Release, cfg *action.Configuratio
// we initialize the Struct with default Options but the 'devel' option // we initialize the Struct with default Options but the 'devel' option
// can be set by the User, all the other ones are not relevant. // can be set by the User, all the other ones are not relevant.
searchRepo := searchRepoOptions{ searchRepo := searchRepoOptions{
versions: false, versions: false,
regexp: false, regexp: false,
devel: devel, devel: devel,
maxColWidth: 50, maxColWidth: 50,
version: "", version: "",
repoFile: settings.RepositoryConfig,
repoCacheDir: settings.RepositoryCache,
} }
// initialize Repo index first // initialize Repo index first

Loading…
Cancel
Save