From f15ec8ecec175677c5bab3e5ac3de6de0280f5ec Mon Sep 17 00:00:00 2001 From: Nathan Gobinet Date: Tue, 30 Jul 2024 14:21:09 +0200 Subject: [PATCH] Fix semi --- packages/jsondiffpatch/src/formatters/jsonpatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsondiffpatch/src/formatters/jsonpatch.ts b/packages/jsondiffpatch/src/formatters/jsonpatch.ts index ec710f3..fad6be0 100644 --- a/packages/jsondiffpatch/src/formatters/jsonpatch.ts +++ b/packages/jsondiffpatch/src/formatters/jsonpatch.ts @@ -101,7 +101,7 @@ class JSONFormatter extends BaseFormatter { }; context.buildPath = function (path: (string | number)[]) { - return path.map((path) => this.escapePath!(path)).join('/') + return path.map((path) => this.escapePath!(path)).join('/'); } context.escapePath = function (path: string | number) {