We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad4e4b6 commit f7c3d8cCopy full SHA for f7c3d8c
lib/tasks/tailwindcss_rails.rake
@@ -1,7 +1,7 @@
1
# Use the user provided asset or use the default
2
-ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css"
+ASSET_FILE = ARGV[0] || "app/assets/builds/avo.tailwind.css" unless defined?(ASSET_FILE)
3
# Se the tailwindcss-rails package name
4
-TAILWINDCSS_RAILS = "tailwindcss-rails"
+TAILWINDCSS_RAILS = "tailwindcss-rails" unless defined?(TAILWINDCSS_RAILS)
5
6
# Check if tailwindcss-rails is being used
7
if Gem.loaded_specs.key? TAILWINDCSS_RAILS
0 commit comments