forked from MapComplete/MapComplete
HandleErrors script: start correctly numbered empty changeset
This commit is contained in:
parent
f51a1a3cc1
commit
fa31fda3c0
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import OsmObjectDownloader from "../src/Logic/Osm/OsmObjectDownloader"
|
|||
import { OsmConnection } from "../src/Logic/Osm/OsmConnection"
|
||||
import { ImmutableStore } from "../src/Logic/UIEventSource"
|
||||
import { Utils } from "../src/Utils"
|
||||
import Constants from "../src/Models/Constants"
|
||||
|
||||
type ErrorMessage = {
|
||||
ip: string
|
||||
|
@ -111,7 +112,7 @@ class HandleErrors extends Script {
|
|||
"error_changeset_" + parsed.index + "_" + e.layout + "_" + e.username + ".osc"
|
||||
if (
|
||||
changeset ===
|
||||
"<osmChange version='0.6' generator='Mapcomplete 0.44.7'></osmChange>"
|
||||
`<osmChange version='0.6' generator='Mapcomplete ${Constants.vNumber}'></osmChange>`
|
||||
) {
|
||||
console.log(
|
||||
"Changes for " +
|
||||
|
|
Loading…
Reference in a new issue