Merge pull request #5148 from naturalcrit/Cleanup_homebrew.api

Fix typo in patch logging
This commit is contained in:
Trevor Buckner
2026-10-22 16:46:36 -04:00
committed by GitHub
+2 -2
View File
@@ -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');
}