forked from MapComplete/MapComplete
Fix: fix tests
This commit is contained in:
parent
2afca781b9
commit
339dcc5c09
3 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,6 @@
|
||||||
"source": {
|
"source": {
|
||||||
"geoJson": "https://maproulette.org/api/v2/challenge/view/39519"
|
"geoJson": "https://maproulette.org/api/v2/challenge/view/39519"
|
||||||
},
|
},
|
||||||
|
|
||||||
"calculatedTags": [
|
"calculatedTags": [
|
||||||
"_closest_osm_poi=closest(feat)('atm')?.properties?.id",
|
"_closest_osm_poi=closest(feat)('atm')?.properties?.id",
|
||||||
"_closest_osm_poi_distance=Math.round(distanceTo(feat)(feat.properties._closest_osm_poi))",
|
"_closest_osm_poi_distance=Math.round(distanceTo(feat)(feat.properties._closest_osm_poi))",
|
||||||
|
|
|
@ -94,10 +94,10 @@ export default class TagApplyViz implements AutoAction, SpecialVisualization {
|
||||||
/**
|
/**
|
||||||
* Parses a tag specification
|
* Parses a tag specification
|
||||||
*
|
*
|
||||||
* TagApplyButton.parseTagSpec("key=value;key0=value0") // => [["key","value"],["key0","value0"]]
|
* TagApplyViz.parseTagSpec("key=value;key0=value0") // => [["key","value"],["key0","value0"]]
|
||||||
*
|
*
|
||||||
* // Should handle escaped ";"
|
* // Should handle escaped ";"
|
||||||
* TagApplyButton.parseTagSpec("key=value;key0=value0\\;value1") // => [["key","value"],["key0","value0;value1"]]
|
* TagApplyViz.parseTagSpec("key=value;key0=value0\\;value1") // => [["key","value"],["key0","value0;value1"]]
|
||||||
*/
|
*/
|
||||||
private static parseTagSpec(spec: string): [string, string][] {
|
private static parseTagSpec(spec: string): [string, string][] {
|
||||||
const tgsSpec: [string, string][] = []
|
const tgsSpec: [string, string][] = []
|
||||||
|
|
|
@ -26,6 +26,7 @@ function detectInCodeUnwrapped(forbidden: string, reason: string): Promise<void>
|
||||||
"assets",
|
"assets",
|
||||||
"vendor",
|
"vendor",
|
||||||
".idea/",
|
".idea/",
|
||||||
|
"android/"
|
||||||
]
|
]
|
||||||
|
|
||||||
const command =
|
const command =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue