lambda-local
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -40,5 +40,12 @@ /* | ||
console.log("\n"); | ||
console.log("Message"); | ||
console.log("------"); | ||
console.log(message); | ||
if (err !== null){ | ||
console.log("Error"); | ||
console.log("------"); | ||
utils.outputJSON(err); | ||
} | ||
else { | ||
console.log("Message"); | ||
console.log("------"); | ||
utils.outputJSON(message); | ||
} | ||
@@ -45,0 +52,0 @@ process.exit(); |
@@ -27,2 +27,6 @@ /* | ||
Utils.outputJSON = function (json) { | ||
console.log(typeof json === "object" ? | ||
JSON.stringify(json, null, "\t") : json); | ||
} | ||
{ | ||
"name": "lambda-local", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Commandline tool to run Lambda functions on your local machine.", | ||
@@ -5,0 +5,0 @@ "author": "ashiina", |
10203
13
242