From c08801cf53209c22e1526bf1aee70c4e7abd993a Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 10 Jun 2017 23:12:13 +0430 Subject: [PATCH] eslint --- lib/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.js b/lib/build.js index 8de61eb9d8..36b2cf5286 100644 --- a/lib/build.js +++ b/lib/build.js @@ -439,7 +439,7 @@ function createWebpackMiddleware () { if (!stats.hasErrors() && !stats.hasWarnings()) { // We don't use os.host() here because browsers have special behaviour with localhost // For example chrome allows Geolocation api only to https or localhost origins - let _host = host==='0.0.0.0' ? 'localhost' : host + let _host = host === '0.0.0.0' ? 'localhost' : host console.log(`> Open http://${_host}:${port}\n`) // eslint-disable-line no-console } })