From 46049689ed938b196149584281a0041f052b7ee3 Mon Sep 17 00:00:00 2001 From: eux Date: Thu, 4 Jan 2024 01:31:17 +0800 Subject: [PATCH] Fix syntax error in stimulus_with_node.rb (#134) --- lib/install/stimulus_with_node.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/stimulus_with_node.rb b/lib/install/stimulus_with_node.rb index 12dfcc8..50431dc 100644 --- a/lib/install/stimulus_with_node.rb +++ b/lib/install/stimulus_with_node.rb @@ -15,7 +15,7 @@ end say "Install Stimulus" -if Rails.root.join("bun.config.js")).exist? +if (Rails.root.join("bun.config.js")).exist? run "bun add @hotwired/stimulus" else run "yarn add @hotwired/stimulus"