Skip to content

Commit

Permalink
🤖 style: prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber authored and github-actions[bot] committed Oct 16, 2023
1 parent a991d64 commit 980eb9a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions devTools/regionsUpdater/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,13 @@ function prettifiedTopology(geoJson: FeatureCollection): Promise<string> {
parser: "typescript",
tabWidth: 4,
semi: false,
}).then(formatted => formatted.replace(
/^( arcs:\s*\[)\]/m,
`\n // prettier-ignore\n$1\n ${arcJson}\n ]`
))
})
.then((formatted) =>
formatted.replace(
/^( arcs:\s*\[)\]/m,
`\n // prettier-ignore\n$1\n ${arcJson}\n ]`
)
)
}

function transformGeography(orig: FeatureCollection): FeatureCollection {
Expand Down

0 comments on commit 980eb9a

Please sign in to comment.