bin/jekyll-auth in jekyll-auth-0.1.2 vs bin/jekyll-auth in jekyll-auth-0.1.3
- old
+ new
@@ -79,10 +79,10 @@
client_secret = ask "What's your GitHub Client Secret? "
sh "heroku config:set GITHUB_CLIENT_SECRET=#{client_secret}"
team_id = ask "What's your GitHub Team ID? (you can skip this in favor of an org if you prefer) "
- if team_id
+ if team_id.length > 0
sh "heroku config:set GITHUB_TEAM_ID=#{team_id}"
else
org_id = ask "What's your GitHub Org ID? "
sh "heroku config:set GITHUB_ORG_ID=#{org_id}"
end