aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-28 19:28:42 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-28 22:58:42 +0530
commit0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd (patch)
tree1418ee325d431d10e4f969f90a75e23f58b7ad6c /src/webview
parentNew translations en-US.json (French) (#2155) (diff)
downloadferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.gz
ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.tar.zst
ferdium-app-0848eb8ddf6cfd32f6e96aac0ff592ad978c13bd.zip
build: use node 16 and npm 8 (#2157)
- change node version from 14.18.1 to 16.13.0 - change npm version from 6.14.13 to 8.1.0 - update package-lock.json to lockfileVersion 2 - use @sindresorhus/do-not-disturb instead of macos-notification-state to avoid failing CI - run ferdi build on latest macos and windows - skip husky in CI builds - move 'cld' and 'node-mac-permissions' to optionalDependency Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'src/webview')
-rw-r--r--src/webview/recipe.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js
index 92c1ee2f0..70241419a 100644
--- a/src/webview/recipe.js
+++ b/src/webview/recipe.js
@@ -436,6 +436,9 @@ class RecipeController {
436 const locale = await ipcRenderer.invoke('detect-language', { 436 const locale = await ipcRenderer.invoke('detect-language', {
437 sample: value, 437 sample: value,
438 }); 438 });
439 if (!locale) {
440 return;
441 }
439 442
440 const spellcheckerLocale = 443 const spellcheckerLocale =
441 getSpellcheckerLocaleByFuzzyIdentifier(locale); 444 getSpellcheckerLocaleByFuzzyIdentifier(locale);