Skip to content

Commit

Permalink
test transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
muratgozel committed Mar 31, 2024
1 parent af63e11 commit 6deccd0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35445,7 +35445,7 @@ var _neighbourhoodsByDistrictAndCityCode = {
"Sultançiftliği Mah",
"Uğur Mumcu Mah",
"Cebeci Mah",
"Eski Habibler Mah",
"Eski Habipler Mah",
"Habibler Mah",
"İsmetpaşa Mah",
"Malkoçoğlu Mah",
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35443,7 +35443,7 @@ var _neighbourhoodsByDistrictAndCityCode = {
"Sultançiftliği Mah",
"Uğur Mumcu Mah",
"Cebeci Mah",
"Eski Habibler Mah",
"Eski Habipler Mah",
"Habibler Mah",
"İsmetpaşa Mah",
"Malkoçoğlu Mah",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "turkey-neighbourhoods",
"version": "4.0.0",
"version": "4.0.1",
"description": "Always up to date names of cities, districts and neighbourhoods in Turkey.",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/data/neighbourhoods.json
Original file line number Diff line number Diff line change
Expand Up @@ -252031,7 +252031,7 @@
"34",
"İstanbul",
"Sultangazi",
"Eski Habibler Mah",
"Eski Habipler Mah",
"34270"
],
[
Expand Down
2 changes: 1 addition & 1 deletion src/data/neighbourhoodsByDistrictAndCityCode.json
Original file line number Diff line number Diff line change
Expand Up @@ -24226,7 +24226,7 @@
"Sultançiftliği Mah",
"Uğur Mumcu Mah",
"Cebeci Mah",
"Eski Habibler Mah",
"Eski Habipler Mah",
"Habibler Mah",
"İsmetpaşa Mah",
"Malkoçoğlu Mah",
Expand Down
2 changes: 2 additions & 0 deletions src/setup/neighbourhoods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ export async function fetchAndParseNeighbourhoods (outputPath: string) {
}

function transform (rec: string[]) {
/*
if (rec[0] === '34' && rec[2] === 'Sultangazi' && rec[3] === 'Eski Habipler Mah') {
rec[3] = 'Eski Habibler Mah'
}
*/

return rec
}
Expand Down

0 comments on commit 6deccd0

Please sign in to comment.