From c8bd10a855e1dcb1798025669ae2b038665b24c5 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Tue, 22 Mar 2022 00:55:44 +0800 Subject: [PATCH] fix typo --- src/sync.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sync.ts b/src/sync.ts index ad79a11..7702bb0 100644 --- a/src/sync.ts +++ b/src/sync.ts @@ -450,7 +450,11 @@ const assignOperationToFileInplace = ( // 0. find anything inconsistent if (r.existLocal && (r.mtimeLocal === undefined || r.mtimeLocal <= 0)) { throw Error( - `Error: Anormal last modified time locally: ${JSON.stringify(r, null, 2)}` + `Error: Abnormal last modified time locally: ${JSON.stringify( + r, + null, + 2 + )}` ); } if (r.existRemote && (r.mtimeRemote === undefined || r.mtimeRemote <= 0)) {