fix: change to const
Signed-off-by: acalcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
a3e68c7698
commit
31f0c5632e
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ import request from 'request';
|
|||
import { getFontsPbf, getTileUrls, fixTileJSONCenter } from './utils.js';
|
||||
|
||||
import Os from 'os'
|
||||
var ostype = (Os.platform() == 'win32') ? "windows":"unix";
|
||||
const ostype = (Os.platform() == 'win32') ? "windows":"unix";
|
||||
const { sharp, createCanvas, Image } = await import(`./render_import_${ostype}.js`);
|
||||
|
||||
const FLOAT_PATTERN = '[+-]?(?:\\d+|\\d+.?\\d+)';
|
||||
|
|
|
|||
Loading…
Reference in a new issue