We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9d6a2 commit 044e3faCopy full SHA for 044e3fa
1 file changed
lib/Zef/Repository/Ecosystems.rakumod
@@ -218,6 +218,7 @@ class Zef::Repository::Ecosystems does PackageRepository {
218
#| Check if our package list should be updated
219
method !is-package-list-stale(--> Bool:D) {
220
return so !self!package-list-path.e
221
+ || ($!auto-update === Bool::True)
222
|| ($!auto-update && self!package-list-path.modified < now.DateTime.earlier(:hours($!auto-update)).Instant);
223
}
224
0 commit comments