Ignore block length on `justask` namespace

This commit is contained in:
Karina Kwiatek 2023-01-02 11:40:31 +01:00
parent ff9d130135
commit f81ec0ba91
1 changed files with 1 additions and 1 deletions

View File

@ -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?