bin/jekyll-auth in jekyll-auth-1.0.2 vs bin/jekyll-auth in jekyll-auth-1.0.3

- old
+ new

@@ -2,11 +2,10 @@ # Command-line interface for jekyll-auth require 'mercenary' require 'jekyll-auth' require 'open3' -require 'jekyll-auth' Mercenary.program("jekyll-auth") do |p| p.version JekyllAuth::VERSION p.description "A simple way to use Github OAuth to serve a protected jekyll site to your GitHub organization" p.syntax 'jekyll-auth <subcommand> options' @@ -60,12 +59,12 @@ puts "An org name and team ID are required.".red puts "Usage: jekyll-auth team_id --org <ORG> --team <TEAM>" exit 1 end - team_id = JekyllAuth::Comands.team_id(org, team) + team_id = JekyllAuth::Commands.team_id(org, team) - if found + if team_id puts "The team ID for `@#{org}/#{team}` is `#{team_id}`".green else puts "Couldn't find the `@#{org}/#{team}` team.".red end end