Skip to content
/ avo Public
forked from avo-hq/avo

Commit f7c3d8c

Browse files
authored
fix: double defined constanta in CI (avo-hq#2422)
1 parent ad4e4b6 commit f7c3d8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tasks/tailwindcss_rails.rake

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the user provided asset or use the default
2-
ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css"
2+
ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css" unless defined?(ASSET_FILE)
33
# Se the tailwindcss-rails package name
4-
TAILWINDCSS_RAILS = "tailwindcss-rails"
4+
TAILWINDCSS_RAILS = "tailwindcss-rails" unless defined?(TAILWINDCSS_RAILS)
55

66
# Check if tailwindcss-rails is being used
77
if Gem.loaded_specs.key? TAILWINDCSS_RAILS

0 commit comments

Comments
 (0)