Skip to content

Commit

Permalink
Add warning for old dontsavehasmany use
Browse files Browse the repository at this point in the history
  • Loading branch information
broerse committed Jan 26, 2018
1 parent 823f7b4 commit 3aa1be9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Expand Up @@ -70,5 +70,12 @@ module.exports = {
exports: { 'pouchdb': [ 'default' ]}
});
app.import('vendor/ember-pouch/register-version.js');

let env = this.project.config(app.env);
if (env.emberpouch) {
if (env.emberpouch.hasOwnProperty('dontsavehasmany')) {
this.ui.writeWarnLine('The `dontsavehasmany` flag is no longer needed in `config/environment.js`');
}
}
}
};

0 comments on commit 3aa1be9

Please sign in to comment.