diff --git a/index.js b/index.js index 5a37e8e..602aa55 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,9 @@ module.exports = { name: 'ember-cli-dotenv', config: function(){ + if (!this.app) { + return; + } var path = require('path'); var fs = require('fs'); var dotenv = require('dotenv');