forked from MapComplete/MapComplete
Remove console.log
This commit is contained in:
parent
0e03fb5e7e
commit
1fbe033456
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ Another example is to search for species and trees:
|
||||||
const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes
|
const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes
|
||||||
const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes
|
const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes
|
||||||
let clipped = searchFor;
|
let clipped = searchFor;
|
||||||
console.log("Pref", prefixesUnrwapped," post", postfixesUnwrapped)
|
|
||||||
for (const postfix of postfixesUnwrapped) {
|
for (const postfix of postfixesUnwrapped) {
|
||||||
if (searchFor.endsWith(postfix)) {
|
if (searchFor.endsWith(postfix)) {
|
||||||
clipped = searchFor.substring(0, searchFor.length - postfix.length)
|
clipped = searchFor.substring(0, searchFor.length - postfix.length)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue