lib/travis/cli/repo_command.rb in travis-1.2.0 vs lib/travis/cli/repo_command.rb in travis-1.2.1

- old
+ new

@@ -8,10 +8,10 @@ attr_accessor :slug abstract def setup - error "Can't figure out GitHub repo name. Are you in the right directory?" unless self.slug ||= find_slug + error "Can't figure out GitHub repo name. Ensure you're in the repo directory, or specify the repo name via the -r option (e.g. travis <command> -r <repo-name>)" unless self.slug ||= find_slug self.api_endpoint = detect_api_endpoint super repository.load # makes sure we actually have access to the repo end