lib/codestatus/cli.rb in codestatus-0.1.1 vs lib/codestatus/cli.rb in codestatus-0.1.2

- old
+ new

@@ -8,10 +8,10 @@ def status(slug) if options[:registry] package_registry = options[:registry] package_name = slug else - package_registry, package_name = slug.split('/') + package_registry, package_name = slug.split('/', 2) end status = Codestatus.status(registry: package_registry, package: package_name) success = (status.status == BuildStatus::SUCCESS)