Ignore block length on `justask` namespace
This commit is contained in:
parent
ff9d130135
commit
f81ec0ba91
2
Rakefile
2
Rakefile
|
@ -7,7 +7,7 @@ require File.expand_path("config/application", __dir__)
|
||||||
|
|
||||||
Rails.application.load_tasks
|
Rails.application.load_tasks
|
||||||
|
|
||||||
namespace :justask do
|
namespace :justask do # rubocop:disable Metrics/BlockLength
|
||||||
desc "Gives admin status to a user."
|
desc "Gives admin status to a user."
|
||||||
task :admin, [:screen_name] => :environment do |_t, args|
|
task :admin, [:screen_name] => :environment do |_t, args|
|
||||||
abort "screen name required" if args[:screen_name].nil?
|
abort "screen name required" if args[:screen_name].nil?
|
||||||
|
|
Loading…
Reference in New Issue