aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-08-13 23:38:24 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-08-13 23:38:24 +0300
commitcc15b343e5bc9a1b974020537e82aa8733f5f7e1 (patch)
tree8978932021a74f59ee0240475fb79475172aa7a9 /railties/lib
parent08e894e8e8d7080525f81e2840e7cbf34f012ed6 (diff)
downloadrails-cc15b343e5bc9a1b974020537e82aa8733f5f7e1.tar.gz
rails-cc15b343e5bc9a1b974020537e82aa8733f5f7e1.tar.bz2
rails-cc15b343e5bc9a1b974020537e82aa8733f5f7e1.zip
Remove `:force` from PASSTHROUGH_OPTIONS for plugin generator
`:force` is setted inside the method `generate_test_dummy`
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
index 89e7b1c04a..6ab9a6e5bb 100644
--- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -87,7 +87,7 @@ task default: :test
PASSTHROUGH_OPTIONS = [
:skip_active_record, :skip_action_mailer, :skip_javascript, :skip_action_cable, :skip_sprockets, :database,
- :javascript, :api, :quiet, :pretend, :force, :skip
+ :javascript, :api, :quiet, :pretend, :skip
]
def generate_test_dummy(force = false)