{"action":"created","issue":{"url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/22","labels_url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/22/comments","events_url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/22/events","html_url":"https://github.com/ajwhite/gulp-ng-config/pull/22","id":70423385,"number":22,"title":"Fixed an issue where environment constants would prevent optional consta...","user":{"login":"danwkennedy","id":501989,"avatar_url":"https://avatars.githubusercontent.com/u/501989?v=3","gravatar_id":"","url":"https://api.github.com/users/danwkennedy","html_url":"https://github.com/danwkennedy","followers_url":"https://api.github.com/users/danwkennedy/followers","following_url":"https://api.github.com/users/danwkennedy/following{/other_user}","gists_url":"https://api.github.com/users/danwkennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/danwkennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danwkennedy/subscriptions","organizations_url":"https://api.github.com/users/danwkennedy/orgs","repos_url":"https://api.github.com/users/danwkennedy/repos","events_url":"https://api.github.com/users/danwkennedy/events{/privacy}","received_events_url":"https://api.github.com/users/danwkennedy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ajwhite/gulp-ng-config/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ajwhite/gulp-ng-config/milestones/7","html_url":"https://github.com/ajwhite/gulp-ng-config/milestones/v1.1.1","labels_url":"https://api.github.com/repos/ajwhite/gulp-ng-config/milestones/7/labels","id":1043711,"number":7,"title":"v1.1.1","description":"","creator":{"login":"ajwhite","id":656630,"avatar_url":"https://avatars.githubusercontent.com/u/656630?v=3","gravatar_id":"","url":"https://api.github.com/users/ajwhite","html_url":"https://github.com/ajwhite","followers_url":"https://api.github.com/users/ajwhite/followers","following_url":"https://api.github.com/users/ajwhite/following{/other_user}","gists_url":"https://api.github.com/users/ajwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajwhite/subscriptions","organizations_url":"https://api.github.com/users/ajwhite/orgs","repos_url":"https://api.github.com/users/ajwhite/repos","events_url":"https://api.github.com/users/ajwhite/events{/privacy}","received_events_url":"https://api.github.com/users/ajwhite/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2015-03-29T20:02:59Z","updated_at":"2015-04-23T17:35:10Z","due_on":null,"closed_at":"2015-04-23T17:35:10Z"},"comments":3,"created_at":"2015-04-23T14:16:30Z","updated_at":"2015-10-15T20:46:14Z","closed_at":"2015-04-23T17:17:12Z","pull_request":{"url":"https://api.github.com/repos/ajwhite/gulp-ng-config/pulls/22","html_url":"https://github.com/ajwhite/gulp-ng-config/pull/22","diff_url":"https://github.com/ajwhite/gulp-ng-config/pull/22.diff","patch_url":"https://github.com/ajwhite/gulp-ng-config/pull/22.patch"},"body":"...nts from getting written to the output file."},"comment":{"url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/comments/148515366","html_url":"https://github.com/ajwhite/gulp-ng-config/pull/22#issuecomment-148515366","issue_url":"https://api.github.com/repos/ajwhite/gulp-ng-config/issues/22","id":148515366,"user":{"login":"ajwhite","id":656630,"avatar_url":"https://avatars.githubusercontent.com/u/656630?v=3","gravatar_id":"","url":"https://api.github.com/users/ajwhite","html_url":"https://github.com/ajwhite","followers_url":"https://api.github.com/users/ajwhite/followers","following_url":"https://api.github.com/users/ajwhite/following{/other_user}","gists_url":"https://api.github.com/users/ajwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajwhite/subscriptions","organizations_url":"https://api.github.com/users/ajwhite/orgs","repos_url":"https://api.github.com/users/ajwhite/repos","events_url":"https://api.github.com/users/ajwhite/events{/privacy}","received_events_url":"https://api.github.com/users/ajwhite/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T20:46:14Z","updated_at":"2015-10-15T20:46:14Z","body":"It looks like your gulpfile has an incorrect syntax:\r\n\r\n```js\r\n.pipe(gulpNgConfig('dcc.config'), {\r\n  environment: 'production'\r\n})\r\n```\r\n\r\nYou're passing the configuration as a second argument to `pipe`, and not `gulpNgConfig`\r\n\r\nit should be\r\n```js\r\n.pipe(gulpNgConfig('dcc.config', {\r\n  environment: 'production'\r\n}))\r\n```"}}