forked from MapComplete/MapComplete
Formatting
This commit is contained in:
parent
387fff72cd
commit
27dc688ea2
2 changed files with 5 additions and 3 deletions
|
@ -143,7 +143,7 @@ class UserInformationMainPanel extends VariableUiElement {
|
||||||
return replaced === simplifiedName
|
return replaced === simplifiedName
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if(isTranslator){
|
if (isTranslator) {
|
||||||
amendedPrefs.data["_translation_contributions"] = "" + isTranslator.commits
|
amendedPrefs.data["_translation_contributions"] = "" + isTranslator.commits
|
||||||
}
|
}
|
||||||
const isCodeContributor = codeContributors.contributors.find(
|
const isCodeContributor = codeContributors.contributors.find(
|
||||||
|
@ -152,7 +152,7 @@ class UserInformationMainPanel extends VariableUiElement {
|
||||||
return replaced === simplifiedName
|
return replaced === simplifiedName
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if(isCodeContributor){
|
if (isCodeContributor) {
|
||||||
amendedPrefs.data["_code_contributions"] = "" + isCodeContributor.commits
|
amendedPrefs.data["_code_contributions"] = "" + isCodeContributor.commits
|
||||||
}
|
}
|
||||||
amendedPrefs.ping()
|
amendedPrefs.ping()
|
||||||
|
|
|
@ -7609,7 +7609,9 @@ describe("GenerateCache", () => {
|
||||||
])
|
])
|
||||||
await ScriptUtils.sleep(250)
|
await ScriptUtils.sleep(250)
|
||||||
const birdhides = JSON.parse(
|
const birdhides = JSON.parse(
|
||||||
readFileSync(dir + "np-cache/natuurpunt_birdhide_12_2085_1368.geojson", { encoding: "utf8" })
|
readFileSync(dir + "np-cache/natuurpunt_birdhide_12_2085_1368.geojson", {
|
||||||
|
encoding: "utf8",
|
||||||
|
})
|
||||||
)
|
)
|
||||||
expect(birdhides.features.length).deep.equal(5)
|
expect(birdhides.features.length).deep.equal(5)
|
||||||
expect(
|
expect(
|
||||||
|
|
Loading…
Add table
Reference in a new issue