Fix incorrect variable name
This commit is contained in:
parent
e428ab60f1
commit
513e2dac8f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ fs.stat(path.resolve(opts.config), function(err, stats) {
|
|||
var stream = fs.createWriteStream(filename);
|
||||
console.log('Downloading sample data (' + filename + ') from ' + url);
|
||||
stream.on('finish', function() {
|
||||
return startWithMBTiles(mbtiles);
|
||||
return startWithMBTiles(filename);
|
||||
});
|
||||
return request.get(url).pipe(stream);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue