imdone-core
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -343,3 +343,8 @@ 'use strict'; | ||
if (file.indexOf(this.path) === 0) return file; | ||
return path.join(this.path,file); | ||
try { | ||
var fullPath = path.join(this.path,file); | ||
return fullPath; | ||
} catch (e) { | ||
throw new Error("Error getting full path for file:%s and repo path:%s", file, this.path); | ||
} | ||
}; | ||
@@ -346,0 +351,0 @@ |
{ | ||
"name": "imdone-core", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "imdone-core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
141358
4209