{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6601","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6601/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6601/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6601/events","html_url":"https://github.com/ember-cli/ember-cli/issues/6601","id":197086479,"number":6601,"title":"app.import will happily include the same file multiple times","user":{"login":"dfreeman","id":108688,"avatar_url":"https://avatars.githubusercontent.com/u/108688?v=3","gravatar_id":"","url":"https://api.github.com/users/dfreeman","html_url":"https://github.com/dfreeman","followers_url":"https://api.github.com/users/dfreeman/followers","following_url":"https://api.github.com/users/dfreeman/following{/other_user}","gists_url":"https://api.github.com/users/dfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/dfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfreeman/subscriptions","organizations_url":"https://api.github.com/users/dfreeman/orgs","repos_url":"https://api.github.com/users/dfreeman/repos","events_url":"https://api.github.com/users/dfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/dfreeman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T03:24:25Z","updated_at":"2016-12-22T15:31:37Z","closed_at":null,"body":"If `app.import` is called on the same path multiple times, the file at that path will be concatenated into the final output once per call. I chatted briefly with @rwjblue about this in Slack and neither of us could come up with a real-world scenario where that would be desirable.\r\n\r\nThe most likely way for this to occur today is when two instances of an addon import the same library. Fun fact: if you have two different versions of that addon installed, you end up with two copies of _one version_ of the library (which clobbered the other when their `vendor` trees merged), which definitely isn't making anyone happy 😉 \r\n\r\nI should have time in the next day or two to take a stab at fixing this, but wanted to open this to track in the meantime.\r\n"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/268823453","html_url":"https://github.com/ember-cli/ember-cli/issues/6601#issuecomment-268823453","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6601","id":268823453,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T15:31:37Z","updated_at":"2016-12-22T15:31:37Z","body":"oh the fun with nested add-ons :P."}}
{"actor":{"display_login":"stefanpenner"}}