mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 04:29:06 +01:00
Ignore block length on justask
namespace
This commit is contained in:
parent
ff9d130135
commit
f81ec0ba91
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -7,7 +7,7 @@ require File.expand_path("config/application", __dir__)
|
|||
|
||||
Rails.application.load_tasks
|
||||
|
||||
namespace :justask do
|
||||
namespace :justask do # rubocop:disable Metrics/BlockLength
|
||||
desc "Gives admin status to a user."
|
||||
task :admin, [:screen_name] => :environment do |_t, args|
|
||||
abort "screen name required" if args[:screen_name].nil?
|
||||
|
|
Loading…
Reference in a new issue