Skip to content

Commit

Permalink
Merge pull request #40 from embermap/disable-in-prod
Browse files Browse the repository at this point in the history
Disable in production
  • Loading branch information
ryanto authored Apr 24, 2019
2 parents 40c990a + ddbfd4c commit 0f2c90e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ module.exports = {
return false;
},

isEnabled() {
return this.app.env !== "production";
},

included() {
this._super.included.apply(this, arguments);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ember-cli-fastboot-testing",
"version": "0.0.10",
"description": "The default blueprint for ember-cli addons.",
"description": "Test your FastBoot-rendered HTML alongside your application's tests.",
"keywords": [
"ember-addon"
],
Expand Down

0 comments on commit 0f2c90e

Please sign in to comment.