Skip to content

Commit

Permalink
Allow "sqlite3" as ENV["DB"]
Browse files Browse the repository at this point in the history
Since solidus-orbs-extension v0.10.0, the CI runner will set the ENV var
for sqlite to be `sqlite3`, which currently raises an error.

(cherry picked from commit 8070485)
  • Loading branch information
mamhoff committed Jan 24, 2024
1 parent ccdf0d7 commit 4321f72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'mysql'
when 'postgres', 'postgresql'
'postgres'
when 'sqlite', '', nil
when /sqlite3?/, '', nil
'sqlite'
else
raise "Invalid DB specified: #{ENV['DB']}"
Expand Down

0 comments on commit 4321f72

Please sign in to comment.