Skip to content

Commit

Permalink
fix declaration and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
patiernom committed Nov 24, 2016
1 parent 88e4eda commit 982f3e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
let path = require('path'),
var path = require('path'),
loadSettings = require('./lib/option-project-reader');

module.exports = function(configJSONFile){
let settings = loadSettings(configJSONFile),
var settings = loadSettings(configJSONFile),
getBasePath = function(){
return settings.projectDirectory + settings.projectConfig + '/';
};

return {
getLibrary: function (name) {
let file = getBasePath() + name;
var file = getBasePath() + name;

return require(path.resolve(file));
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grulper-load-projects",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple Grulper module for load your projects specification from JSON.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 982f3e3

Please sign in to comment.