Skip to content

Commit

Permalink
Refactor console
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvanderbyl committed Jul 28, 2016
1 parent 2b97ee9 commit 38bd613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ module.exports = {
this._super.included && this._super.included.apply(this, arguments);
this.app = app;

this.ui.writeWarn('[ember-cli-d3-shape] skipping included hook for', app.name || 'app');

while (app.app) {
app = app.app;
}
Expand All @@ -57,9 +59,7 @@ module.exports = {
// This essentially means we'll skip importing this package twice, if it's
// a dependency of another package.
if (!app.import) {
if (this.isDevelopingAddon()) {
console.log('[ember-cli-d3-shape] skipping included hook for', app.name);
}
this.ui.writeWarning('[ember-cli-d3-shape] skipping included hook for', app.name || 'app');

return;
}
Expand Down

0 comments on commit 38bd613

Please sign in to comment.