Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Nov 27, 2024
1 parent 13602cc commit e289253
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/placeos-core/driver_cleanup.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ module PlaceOS::Core::DriverCleanup

private def self.running_drivers
sql = <<-SQL
SELECT DISTINCT ON (driver.commit)
SELECT DISTINCT ON (driver.commit)
regexp_replace(regexp_replace(driver.file_name, '.cr$', '', 'g'), '[/.]', '_', 'g') || '_' || LEFT(driver.commit, 6) || '_' AS driver_file
FROM
mod,
FROM
mod,
driver
WHERE
mod.running = true
WHERE
mod.running = true
AND driver.id = mod.driver_id
ORDER BY driver.commit;
SQL
Expand Down

0 comments on commit e289253

Please sign in to comment.