fix: update function name
Signed-off-by: acalcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
31b288987c
commit
426038a713
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ fs.stat(path.resolve(opts.config), (err, stats) => {
|
||||||
responseType: 'stream'
|
responseType: 'stream'
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
response.data.pipe(writer);
|
response.data.pipe(writer);
|
||||||
writer.on('finish', () => startWithMBTiles(filename));
|
writer.on('finish', () => StartWithInputFile(filename));
|
||||||
writer.on('error', err => console.error(`Error writing file: ${err}`));
|
writer.on('error', err => console.error(`Error writing file: ${err}`));
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(`Error downloading file: ${error}`);
|
console.error(`Error downloading file: ${error}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue