Skip to content

Commit

Permalink
fix: double defined constanta in CI (#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jan 28, 2024
1 parent ad4e4b6 commit f7c3d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/tailwindcss_rails.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use the user provided asset or use the default
ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css"
ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css" unless defined?(ASSET_FILE)
# Se the tailwindcss-rails package name
TAILWINDCSS_RAILS = "tailwindcss-rails"
TAILWINDCSS_RAILS = "tailwindcss-rails" unless defined?(TAILWINDCSS_RAILS)

# Check if tailwindcss-rails is being used
if Gem.loaded_specs.key? TAILWINDCSS_RAILS
Expand Down

0 comments on commit f7c3d8c

Please sign in to comment.