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(
|
||||
'--mbtiles <file>',
|
||||
'(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',
|
||||
)
|
||||
.option(
|
||||
|
|
@ -272,10 +272,10 @@ const startWithMBTiles = (mbtilesFile) => {
|
|||
|
||||
fs.stat(path.resolve(opts.config), (err, stats) => {
|
||||
if (err || !stats.isFile() || stats.size === 0) {
|
||||
let inputfile
|
||||
if(opts.file) {
|
||||
let inputfile;
|
||||
if (opts.file) {
|
||||
inputfile = opts.file;
|
||||
} else if (opts.mbtiles){
|
||||
} else if (opts.mbtiles) {
|
||||
inputfile = opts.mbtiles;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue