Fix map of queenscliffe not generating
This commit is contained in:
2
map-generator/dist/main.js
vendored
2
map-generator/dist/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
import polylabel from 'polylabel';
|
import polylabel from 'polylabel';
|
||||||
|
|
||||||
function normaliseCouncilName(str) {
|
function normaliseCouncilName(str) {
|
||||||
const regex = /(.*?)(?:(?: Rural)?(?: City| Shire) Council)/g;
|
const regex = /(.*?)(?:(?: Rural)?(?: City| Shire| Borough) Council)/g;
|
||||||
const matches = str.matchAll(regex);
|
const matches = str.matchAll(regex);
|
||||||
|
|
||||||
// If we get a match, convert to slug format
|
// If we get a match, convert to slug format
|
||||||
|
|||||||
Reference in New Issue
Block a user