Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Lint

Josh Pigford59e4eff24a4c
diff --git a/lib/tasks/invites.rake b/lib/tasks/invites.rake
index e5852f57..02bfea4b 100644
--- a/lib/tasks/invites.rake
+++ b/lib/tasks/invites.rake
@@ -1,6 +1,6 @@
namespace :invites do
desc "Create invite code(s). Usage: rake invites:create[count]"
- task :create, [:count] => :environment do |_, args|
+ task :create, [ :count ] => :environment do |_, args|
count = (args[:count] || 1).to_i
count.times do
puts InviteCode.generate!