Comparing version 0.4.2 to 0.4.3
10
index.js
@@ -53,3 +53,10 @@ var kpc = require('node-kpc'); | ||
} catch(e) { | ||
throw new gUtil.PluginError('gulp-kpc', e); | ||
if (e.lineNumber && e.filename) { | ||
var msg = e.message; | ||
msg = msg.replace(/^Line\ [0-9]*\:\ /, ''); | ||
msg = msg + '\n ' + e.filename + ':' + e.lineNumber; | ||
} | ||
throw new gUtil.PluginError('gulp-kpc', msg || e, {showStack: false}); | ||
} | ||
@@ -80,2 +87,3 @@ | ||
}); | ||
this.push(gFile); | ||
@@ -82,0 +90,0 @@ } |
{ | ||
"name": "gulp-kpc", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "kpc plugin for gulp", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5149
66