File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
actiontext/lib/generators/action_text/install Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,9 @@ Lint/RedundantStringCoercion:
221
221
Lint/UriEscapeUnescape :
222
222
Enabled : true
223
223
224
+ Lint/UselessAssignment :
225
+ Enabled : true
226
+
224
227
Lint/DeprecatedClassMethods :
225
228
Enabled : true
226
229
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class InstallGenerator < ::Rails::Generators::Base
9
9
source_root File . expand_path ( "templates" , __dir__ )
10
10
11
11
def install_javascript_dependencies
12
- if using_node = Pathname ( destination_root ) . join ( "package.json" ) . exist?
12
+ if Pathname ( destination_root ) . join ( "package.json" ) . exist?
13
13
say "Installing JavaScript dependencies" , :green
14
14
run "yarn add @rails/actiontext trix"
15
15
end
You can’t perform that action at this time.
0 commit comments