Skip to content

Commit

Permalink
release 0.1.1; dont need two config hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanley Stuart committed Oct 16, 2014
1 parent c129335 commit 30af6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,5 @@
'use strict';

module.exports = function(/* environment, appConfig */) {
var path = require('path');
var fs = require('fs');
var dotenv = require('dotenv');

var configFilePath = path.join(this.project.root, '.env');
var config;

if (fs.existsSync(configFilePath)){
return dotenv.parse(fs.readFileSync(configFilePath));
} else {
return {};
}
return {};
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-dotenv",
"version": "0.1.0",
"version": "0.1.1",
"directories": {
"doc": "doc",
"test": "tests"
Expand Down

0 comments on commit 30af6dd

Please sign in to comment.