From 5a0206a3c94616dac1b86c72986953006617733e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A0Martin=20Kac=CC=8Cmar?= Date: Fri, 10 Feb 2017 10:56:04 +0100 Subject: [PATCH] Milliseconds correctly converted to seconds for timeout error message --- bin/run-local-lambda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-local-lambda.js b/bin/run-local-lambda.js index 1b9fa46..4e35458 100755 --- a/bin/run-local-lambda.js +++ b/bin/run-local-lambda.js @@ -134,7 +134,7 @@ var execute = function(){ setTimeout(function(){ - console.log('The function timed out after ' + settings.timeout + ' seconds'); + console.log('The function timed out after ' + (settings.timeout / 1000) + ' seconds'); process.exit(); }, settings.timeout);