lib/neetob/cli/heroku/access/remove.rb in neetob-0.2.2 vs lib/neetob/cli/heroku/access/remove.rb in neetob-0.2.3
- old
+ new
@@ -15,10 +15,10 @@
@users_to_be_removed = users_to_be_removed
@sandbox = sandbox
end
def run
- matching_apps = find_all_matching_apps(apps, :heroku, sandbox)
+ matching_apps = find_all_matching_apps_or_repos(apps, :heroku, sandbox)
matching_apps.each do |app|
`heroku access -a #{app}`
unless $?.success?
ui.error("There is a problem in accessing the app with name \"#{app}\" in your account.")
ui.error("Please check the specified app name and ensure you're authorized to view that app.")