Skip to content

Commit

Permalink
oop; bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-does-weather committed Nov 7, 2024
1 parent 643fcbb commit e4ae7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spatial-data/load-shapefiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function main() {

if (!hasUpdates) {
console.log(chalk.green("Everything is already up-to-date. Stopping!"));
return;
// return;
}

if (urls.length) {
Expand All @@ -59,7 +59,7 @@ async function main() {
}
}

for await (const { target, ...updateMetadata } of meta) {
for await (const updateMetadata of meta) {
if (updateMetadata.update) {
await updateTable(updateMetadata);
}
Expand Down

0 comments on commit e4ae7ea

Please sign in to comment.