Skip to content

Commit da44084

Browse files
committed
Save UN geodata in build folder
1 parent e74c65c commit da44084

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tasks/topojson/get_geodata.mjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import config, { getNEDownloadUrl, getNEFilename } from './config.mjs';
66

77
const { resolutions, unDownloadUrl, unFilename, vectors } = config;
88

9-
const tasksPath = './tasks/topojson';
109
const outputPath = './build/geodata';
1110

1211
// Download Natural Earth vector maps
@@ -39,7 +38,7 @@ for (const vector of Object.values(vectors)) {
3938

4039
// Download UN GeoJSON file
4140
const url = unDownloadUrl;
42-
const archivePath = `${tasksPath}/${unFilename}.zip`;
41+
const archivePath = `${outputPath}/${unFilename}.zip`;
4342
const geojsonPath = `${outputPath}`;
4443
const geojsonFilePath = `${geojsonPath}/${unFilename}.geojson`;
4544

0 commit comments

Comments
 (0)