Skip to content

Commit

Permalink
Merge branch 'master' into userinterface
Browse files Browse the repository at this point in the history
  • Loading branch information
123FLO321 committed May 7, 2022
2 parents fd9619c + e24223a commit c521a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
/.idea
/.build
/Packages
/*.xcodeproj
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftTileserverCache/Misc/CacheCleaner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CacheCleaner {

private func runOnce() {
do {
let count = Int(try escapedShellOut(to: "./Resources/Scripts/clear.bash")) ?? 0
let count = Int(try escapedShellOut(to: "./Resources/Scripts/clear.bash", arguments: [folder.path, "\(maxAgeMinutes)"])) ?? 0
if count != 0 {
logger.info("Removed \(count) Files")
}
Expand Down

0 comments on commit c521a2c

Please sign in to comment.