From 0909769c04e9d7128b0a5d5279b30bb7ed439226 Mon Sep 17 00:00:00 2001 From: Stanley Stuart Date: Fri, 14 Nov 2014 13:35:06 -0600 Subject: [PATCH] return early if addon is included too early --- index.js | 3 +++ 1 file changed, 3 insertions(+) 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');