Fix typo in method name, fix conflicted doctests

This commit is contained in:
Pieter Vander Vennet 2022-06-20 11:26:55 +02:00
parent 00026768f2
commit 5bafbbd3d2
4 changed files with 4 additions and 12 deletions

View file

@ -314,7 +314,7 @@ export class OsmConnection {
}
public addCommentToNode(id: number | string, text: string): Promise<void> {
public addCommentToNote(id: number | string, text: string): Promise<void> {
if (this._dryRun.data) {
console.warn("Dryrun enabled - not actually adding comment ", text, "to note ", id)
return new Promise((ok) => {