Skip to content

Commit

Permalink
Merge pull request #19838 from bertdeblock/cleanup/throw-when-ember-i…
Browse files Browse the repository at this point in the history
…s-defined-in-bower-file

[CLEANUP beta] Remove check to see if `ember` is defined as a Bower dependency
  • Loading branch information
mixonic authored Nov 15, 2021
2 parents d320f79 + 58c28dc commit 4bb4f29
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ module.exports = {
init() {
this._super.init && this._super.init.apply(this, arguments);

if ('ember' in this.project.bowerDependencies()) {
// TODO: move this to a throw soon.
this.ui.writeWarnLine(
'Ember.js is now provided by node_module `ember-source`, please remove it from bower'
);
}

// resets `this.root` to the correct location by default ember-cli
// considers `__dirname` here to be the root, but since our main entry
// point is within a subfolder we need to correct that
Expand Down

0 comments on commit 4bb4f29

Please sign in to comment.