Skip to content

Commit 33097ff

Browse files
committed
Fix lint
1 parent 4b11f23 commit 33097ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/backup_db_rds.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def self.run
1919
body: File.read(backup_filename),
2020
bucket: "human-essentials-backups")
2121

22-
Dir.glob(Rails.root.join("*.rds.dump")).each do |file|
22+
Rails.root.glob("*.rds.dump").each do |file|
2323
File.delete(file)
2424
end
2525
end

0 commit comments

Comments
 (0)