Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Mar 18, 2024
1 parent ab59e0e commit 0da0793
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 67 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v4.0.2

- :arrow_up: Update Core Deps

### v4.0.1

- :arrow_up: Update Core Deps
Expand Down
128 changes: 64 additions & 64 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ export default class Task extends ETL {
features: []
};

let count = 0;
await new Promise<void>((resolve, reject) => {
dumper.on('feature', (feature) => {
feature.id = `layer-${layer.id}-${feature.id}`
++count;

if (feature.geometry.type.startsWith('Multi')) {
feature.geometry.coordinates.forEach((coords: any, idx: number) => {

Check warning on line 149 in task.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type
Expand All @@ -169,7 +167,7 @@ export default class Task extends ETL {
});
});

console.log(`ok - obtained ${count} features`);
console.log(`ok - obtained ${fc.features.length} features`);

await this.submit(fc);
}
Expand Down

0 comments on commit 0da0793

Please sign in to comment.