Просмотр исходного кода

fix(core): regression on process-ipc-message-fn (#8749)

Lucas Fernandes Nogueira 1 год назад
Родитель
Сommit
863bc9e55f

+ 5 - 0
.changes/fix-process-ipc-message-fn.md

@@ -0,0 +1,5 @@
+---
+"tauri": patch:bug
+---
+
+Fix regression on the JavaScript code that processes the IPC message.

+ 2 - 1
.prettierignore

@@ -13,4 +13,5 @@ dist
 CHANGELOG.md
 *.wxs
 **/reference.md
-*schema.json
+*schema.json
+core/tauri/scripts/process-ipc-message-fn.js

+ 1 - 1
core/tauri/scripts/process-ipc-message-fn.js

@@ -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) ||