Skip to content

Commit 20c62ef

Browse files
authored
Merge pull request #369 from t-mario-y/rename-to-disable_auto_ternary
rename left variables and files for plugin/disable_auto_ternary
2 parents fda84ea + c921b55 commit 20c62ef

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib/syntax_tree/formatter.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def initialize(
6060
# constant. That constant is responsible for determining the default
6161
# disable ternary value. If it's defined, then we default to true.
6262
# Otherwise we default to false.
63-
defined?(DISABLE_TERNARY)
63+
defined?(DISABLE_AUTO_TERNARY)
6464
else
6565
disable_auto_ternary
6666
end

lib/syntax_tree/plugin/disable_ternary.rb renamed to lib/syntax_tree/plugin/disable_auto_ternary.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module SyntaxTree
44
class Formatter
5-
DISABLE_TERNARY = true
5+
DISABLE_AUTO_TERNARY = true
66
end
77
end

0 commit comments

Comments
 (0)