aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/lib/RecipeWebview.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/lib/RecipeWebview.js')
-rw-r--r--src/webview/lib/RecipeWebview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js
index 3bb9352f6..305e79882 100644
--- a/src/webview/lib/RecipeWebview.js
+++ b/src/webview/lib/RecipeWebview.js
@@ -75,7 +75,7 @@ class RecipeWebview {
75 debug('Script not found', file); 75 debug('Script not found', file);
76 return null; 76 return null;
77 })).then(async (scripts) => { 77 })).then(async (scripts) => {
78 const scriptsFound = scripts.filter(script => script !== null); 78 const scriptsFound = scripts.filter((script) => script !== null);
79 if (scriptsFound.length > 0) { 79 if (scriptsFound.length > 0) {
80 debug('Inject scripts to main world', scriptsFound); 80 debug('Inject scripts to main world', scriptsFound);
81 ipcRenderer.sendToHost('inject-js-unsafe', ...scriptsFound); 81 ipcRenderer.sendToHost('inject-js-unsafe', ...scriptsFound);