dvpntjs-scripts
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -6,3 +6,5 @@ const {execSync} = require('child_process'); | ||
try { | ||
return execSync(cmd, options).toString().slice(0, -1); | ||
const output = execSync(cmd, options); | ||
return (output || '').toString().slice(0, -1); | ||
} catch (err) { | ||
@@ -9,0 +11,0 @@ logger.error('`%s` failed with code %d', cmd, err.status); |
{ | ||
"name": "dvpntjs-scripts", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "dvpnt node helper scripts", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
17510
287