{"action":"created","issue":{"url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/30","repository_url":"https://api.github.com/repos/jonkemp/gulp-qunit","labels_url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/30/comments","events_url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/30/events","html_url":"https://github.com/jonkemp/gulp-qunit/pull/30","id":151383706,"number":30,"title":"multiple phantomjs options as an array","user":{"login":"yubowenok","id":1314429,"avatar_url":"https://avatars.githubusercontent.com/u/1314429?v=3","gravatar_id":"","url":"https://api.github.com/users/yubowenok","html_url":"https://github.com/yubowenok","followers_url":"https://api.github.com/users/yubowenok/followers","following_url":"https://api.github.com/users/yubowenok/following{/other_user}","gists_url":"https://api.github.com/users/yubowenok/gists{/gist_id}","starred_url":"https://api.github.com/users/yubowenok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yubowenok/subscriptions","organizations_url":"https://api.github.com/users/yubowenok/orgs","repos_url":"https://api.github.com/users/yubowenok/repos","events_url":"https://api.github.com/users/yubowenok/events{/privacy}","received_events_url":"https://api.github.com/users/yubowenok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-27T13:21:19Z","updated_at":"2016-04-27T14:44:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jonkemp/gulp-qunit/pulls/30","html_url":"https://github.com/jonkemp/gulp-qunit/pull/30","diff_url":"https://github.com/jonkemp/gulp-qunit/pull/30.diff","patch_url":"https://github.com/jonkemp/gulp-qunit/pull/30.patch"},"body":"When multiple phantomjs options are passed in, e.g.\r\n```js\r\ngulp.src('index.html')\r\n    .pipe(qunit({\r\n      'phantomjs-options': ['--ignore-ssl-errors=true', '--web-security=false']\r\n    })\r\n```\r\nThe current code will push the array into childArgs, which will result in childProcess.execFile failing to execute phantomjs properly. It will give \"Invalid values for 'ignore-ssl-errors' option.\" It seems that each array element in the 2nd argument of childProcess.execFile must contain a single flag. Passing in the concatenated string '--ignore-ssl-errors=true --web-security=false' does not work.\r\n"},"comment":{"url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/comments/215106303","html_url":"https://github.com/jonkemp/gulp-qunit/pull/30#issuecomment-215106303","issue_url":"https://api.github.com/repos/jonkemp/gulp-qunit/issues/30","id":215106303,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T14:44:04Z","updated_at":"2016-04-27T14:44:04Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5954192/badge)](https://coveralls.io/builds/5954192)\n\nCoverage decreased (-0.8%) to 68.627% when pulling **3966b48c8e71abeebf27277df579f46690b26b0e on yubowenok:master** into **c7353b65012a5292c1ffe1163ddfb04ff674a1fe on jonkemp:master**.\n"}}