From 426038a713a535d969f1ff610cb0c6a67c23a4fe Mon Sep 17 00:00:00 2001 From: acalcutt Date: Thu, 2 Nov 2023 11:32:39 -0400 Subject: [PATCH] fix: update function name Signed-off-by: acalcutt --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 0d7e9c5..c188c66 100644 --- a/src/main.js +++ b/src/main.js @@ -280,7 +280,7 @@ fs.stat(path.resolve(opts.config), (err, stats) => { responseType: 'stream' }).then(response => { response.data.pipe(writer); - writer.on('finish', () => startWithMBTiles(filename)); + writer.on('finish', () => StartWithInputFile(filename)); writer.on('error', err => console.error(`Error writing file: ${err}`)); }).catch(error => { console.error(`Error downloading file: ${error}`);