From c016175a23163148f8603306d892fa90a9f91698 Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Wed, 10 Jan 2018 11:24:08 +0100 Subject: [PATCH] please jshint --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index f74b1e0b..34c0bf45 100755 --- a/app.js +++ b/app.js @@ -20,8 +20,8 @@ if (!semver.satisfies(nodejsVersion, '>=6.9.0')) { // CartoCSS properties text-wrap-width/text-wrap-character not working // This function should be called as soon as possible. function setICUEnvVariable() { - if (process.env['ICU_DATA'] === undefined) { - process.env['ICU_DATA'] = __dirname + '/node_modules/mapnik/lib/binding/node-v48-linux-x64/share/mapnik/icu'; + if (process.env.ICU_DATA === undefined) { + process.env.ICU_DATA = __dirname + '/node_modules/mapnik/lib/binding/node-v48-linux-x64/share/mapnik/icu'; } } setICUEnvVariable();