File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ If you want unminified assets, you can:
293
293
- pass a ` debug` argument to the rake task, i.e. ` rails tailwindcss:build[debug]` or ` rails tailwindcss:watch[debug]` .
294
294
- set an environment variable named ` TAILWINDCSS_DEBUG` with a non-blank value
295
295
296
- If both values are set, the environment variable will take precedence over the rake task argument.
296
+ If both values are set, the environment variable will take precedence over the rake task argument.
297
297
298
298
# ## Live rebuild
299
299
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module Tailwindcss
4
4
module Commands
5
5
class << self
6
6
def compile_command ( debug : false , **kwargs )
7
- debug = ENV [ "TAILWINDCSS_DEBUG" ] . present? unless ENV [ "TAILWINDCSS_DEBUG" ] . nil?
7
+ debug = ENV [ "TAILWINDCSS_DEBUG" ] . present? if ENV . key? ( "TAILWINDCSS_DEBUG" )
8
8
rails_root = defined? ( Rails ) ? Rails . root : Pathname . new ( Dir . pwd )
9
9
10
10
command = [
You can’t perform that action at this time.
0 commit comments