Comparing version 1.0.2 to 1.0.3
@@ -55,2 +55,11 @@ "use strict"; | ||
CLI.prototype.resolvePath = function(fileOrDir){ | ||
var result = fileOrDir; | ||
if (!path.isAbsolute(fileOrDir)){ | ||
result = path.resolve(path.join(process.cwd(), fileOrDir)); | ||
} | ||
return result; | ||
}; | ||
CLI.prototype.nestedFolderConfig = function(basedir, filename){ | ||
@@ -57,0 +66,0 @@ var result = null; |
{ | ||
"name": "n-cli", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "a usefull toolset for node commandline applications", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -19,3 +19,2 @@ # n-cli [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [](https://coveralls.io/github/s-a/n-cli?branch=master) | ||
silent: false, | ||
appname: "node-cli-example-app-1", | ||
handleUncaughtException : true | ||
@@ -22,0 +21,0 @@ }); |
9452
150
73