{"action":"closed","issue":{"url":"https://api.github.com/repos/dominictarr/rc/issues/47","labels_url":"https://api.github.com/repos/dominictarr/rc/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/dominictarr/rc/issues/47/comments","events_url":"https://api.github.com/repos/dominictarr/rc/issues/47/events","html_url":"https://github.com/dominictarr/rc/issues/47","id":75857005,"number":47,"title":"badness ensues if the default configuration is frozen","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-13T05:45:15Z","updated_at":"2015-05-16T00:57:34Z","closed_at":"2015-05-16T00:57:34Z","body":"trivial example:\r\n\r\n```js\r\nvar DEFAULTS = Object.freeze({baz: 'quux'});\r\n// var DEFAULTS = {baz: 'quux'};\r\nprocess.argv.push('--foo', 'bar');\r\nconsole.log(require('rc')('test', DEFAULTS));\r\n```\r\n\r\nexpected output:\r\n```\r\n{ baz: 'quux', _: [], foo: 'bar' }\r\n```\r\n\r\nactual output:\r\n```\r\n{ baz: 'quux' }\r\n```\r\n"}}