please jshint
This commit is contained in:
parent
1b85951e06
commit
c016175a23
4
app.js
4
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();
|
||||
|
Loading…
Reference in New Issue
Block a user