GitHub PullRequestReviewCommentEvent at 2014-02-23 06:20:16
Repository: phpspec
Actor: chobie
Payload: {"comment":{"url":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/9974552","id":9974552,"diff_hunk":"@@ -83,6 +88,17 @@ protected function configure()\n     protected function execute(InputInterface $input, OutputInterface $output)\n     {\n         $container = $this->getApplication()->getContainer();\n+        $bootstrap = $input->getOption(\"bootstrap\");\n+\n+        if (!empty($bootstrap)) {\n+            $bootstrap_file = getcwd() . DIRECTORY_SEPARATOR . $input->getOption(\"bootstrap\");\n+            if (!is_file($bootstrap_file)) {\n+                throw new \\InvalidArgumentException(sprintf(\"bootstrap file `%s` does not exist\", $bootstrap));","path":"src/PhpSpec/Console/Command/RunCommand.php","position":null,"original_position":28,"commit_id":"328a6f2a180b8108a59d3e42ad1e61a4ab21c7bf","original_commit_id":"2c89a990cb48e2e5b528f054ce5c1d9bd56100cb","user":{"login":"chobie","id":195038,"avatar_url":"https://gravatar.com/avatar/27520341fe306fbf038eec7cd64466e4?d=https%3A%2F%2Fidenticons.github.com%2F8b5d05453b8724cd3910471b7caa3965.png&r=x","gravatar_id":"27520341fe306fbf038eec7cd64466e4","url":"https://api.github.com/users/chobie","html_url":"https://github.com/chobie","followers_url":"https://api.github.com/users/chobie/followers","following_url":"https://api.github.com/users/chobie/following{/other_user}","gists_url":"https://api.github.com/users/chobie/gists{/gist_id}","starred_url":"https://api.github.com/users/chobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chobie/subscriptions","organizations_url":"https://api.github.com/users/chobie/orgs","repos_url":"https://api.github.com/users/chobie/repos","events_url":"https://api.github.com/users/chobie/events{/privacy}","received_events_url":"https://api.github.com/users/chobie/received_events","type":"User","site_admin":false},"body":"fixed it","created_at":"2014-02-23T06:20:16Z","updated_at":"2014-02-23T06:20:16Z","html_url":"https://github.com/phpspec/phpspec/pull/284#discussion_r9974552","pull_request_url":"https://api.github.com/repos/phpspec/phpspec/pulls/284","_links":{"self":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/9974552"},"html":{"href":"https://github.com/phpspec/phpspec/pull/284#discussion_r9974552"},"pull_request":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/284"}}}}