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