From 955fe458ffb5f808dfef2216d85124514a151593 Mon Sep 17 00:00:00 2001 From: abetomo Date: Wed, 20 Dec 2017 10:20:31 +0900 Subject: [PATCH] Modify using template literals Because we used template literals at #402, we unified. --- lib/main.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/main.js b/lib/main.js index b2a2a725..17e6b671 100644 --- a/lib/main.js +++ b/lib/main.js @@ -552,9 +552,11 @@ so you can easily test run multiple events. // Warn if not building on 64-bit linux const arch = process.platform + '.' + process.arch if (arch !== 'linux.x64' && !program.dockerImage) { - console.warn('Warning!!! You are building on a platform that is not 64-bit Linux (%s). ' + - 'If any of your Node dependencies include C-extensions, they may not work as expected in the ' + - 'Lambda environment.\n\n', arch) + console.warn(`Warning!!! You are building on a platform that is not 64-bit Linux (${arch}). +If any of your Node dependencies include C-extensions, \ +they may not work as expected in the Lambda environment. + +`) } const codeDirectory = this._codeDirectory()