From d084586d553da42cef2be4c5e4cf24943f209d97 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 22 Oct 2026 20:20:18 +0000 Subject: [PATCH] Fix typo in patch logging --- server/homebrew.api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index c572b2cec..75cbbeca4 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -368,8 +368,8 @@ const api = { if(failedPatchCount){ throw (`Patch failure: ${failedPatchCount}/${result[1].length} did not apply`); } - patchedText = decodeURI(result[0]); - if(patchedText != brewFromClient.text){ + const patchedText = decodeURI(result[0]); + if(patchedText !== brewFromClient.text){ debugTextMismatch(brewFromClient.text, patchedText, `edit/${brewFromClient.editId}`); throw ('Patches did not apply cleanly, text mismatch detected'); }