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
|
// CartoCSS properties text-wrap-width/text-wrap-character not working
|
||||||
// This function should be called as soon as possible.
|
// This function should be called as soon as possible.
|
||||||
function setICUEnvVariable() {
|
function setICUEnvVariable() {
|
||||||
if (process.env['ICU_DATA'] === undefined) {
|
if (process.env.ICU_DATA === undefined) {
|
||||||
process.env['ICU_DATA'] = __dirname + '/node_modules/mapnik/lib/binding/node-v48-linux-x64/share/mapnik/icu';
|
process.env.ICU_DATA = __dirname + '/node_modules/mapnik/lib/binding/node-v48-linux-x64/share/mapnik/icu';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setICUEnvVariable();
|
setICUEnvVariable();
|
||||||
|
Loading…
Reference in New Issue
Block a user