Skip to content

Commit

Permalink
Merge pull request #491 from pelias/postalcodes-true
Browse files Browse the repository at this point in the history
Support and expect `importPostalcodes` to default to true
  • Loading branch information
orangejulius authored Mar 19, 2020
2 parents a51e467 + 8d66b2a commit 23ff12c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ It is currently [not recommended to import venues](https://github.com/pelias/who
### `imports.whosonfirst.importPostalcodes`

* Required: no
* Default: `false`
* Default: `true`

Set to true to enable importing postalcode records. There are over 3 million postal code records.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"lodash": "^4.5.1",
"parallel-transform": "^1.1.0",
"pelias-blacklist-stream": "^1.0.0",
"pelias-config": "^4.8.0",
"pelias-config": "^4.9.0",
"pelias-dbclient": "^2.13.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^7.1.0",
Expand Down
3 changes: 2 additions & 1 deletion test/bundleList.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ tape('bundlesList tests', (test) => {
return peliasConfig.generateCustom({
imports: {
whosonfirst: {
datapath: 'foo'
datapath: 'foo',
importPostalcodes: false
}
}
});
Expand Down

0 comments on commit 23ff12c

Please sign in to comment.