Skip to content

Commit

Permalink
fix(core): regression on process-ipc-message-fn (#8749)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Feb 3, 2024
1 parent 8f0e50f commit 863bc9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-process-ipc-message-fn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fix regression on the JavaScript code that processes the IPC message.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ dist
CHANGELOG.md
*.wxs
**/reference.md
*schema.json
*schema.json
core/tauri/scripts/process-ipc-message-fn.js
2 changes: 1 addition & 1 deletion core/tauri/scripts/process-ipc-message-fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// this is a function and not an iife so use it carefully

;(function (message) {
(function (message) {
if (
message instanceof ArrayBuffer ||
ArrayBuffer.isView(message) ||
Expand Down

0 comments on commit 863bc9e

Please sign in to comment.