chore: lint
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
250c38bc98
commit
c0b30d13be
1 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ program
|
||||||
.option(
|
.option(
|
||||||
'--mbtiles <file>',
|
'--mbtiles <file>',
|
||||||
'(DEPRECIATED) MBTiles file (uses demo configuration);\n' +
|
'(DEPRECIATED) MBTiles file (uses demo configuration);\n' +
|
||||||
'\t ignored if file is also specified'+
|
'\t ignored if file is also specified' +
|
||||||
'\t ignored if the configuration file is also specified',
|
'\t ignored if the configuration file is also specified',
|
||||||
)
|
)
|
||||||
.option(
|
.option(
|
||||||
|
|
@ -272,10 +272,10 @@ const startWithMBTiles = (mbtilesFile) => {
|
||||||
|
|
||||||
fs.stat(path.resolve(opts.config), (err, stats) => {
|
fs.stat(path.resolve(opts.config), (err, stats) => {
|
||||||
if (err || !stats.isFile() || stats.size === 0) {
|
if (err || !stats.isFile() || stats.size === 0) {
|
||||||
let inputfile
|
let inputfile;
|
||||||
if(opts.file) {
|
if (opts.file) {
|
||||||
inputfile = opts.file;
|
inputfile = opts.file;
|
||||||
} else if (opts.mbtiles){
|
} else if (opts.mbtiles) {
|
||||||
inputfile = opts.mbtiles;
|
inputfile = opts.mbtiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue