preload.js: Load spellcheck last; it fails with /tmp noexec (#1734)
This commit is contained in:
parent
259862ec2e
commit
d953a61d39
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,6 @@
|
|||
// We pull these dependencies in now, from here, because they have Node.js dependencies
|
||||
|
||||
require('./js/logging');
|
||||
require('./js/spell_check');
|
||||
require('./js/backup');
|
||||
|
||||
window.nodeSetImmediate = setImmediate;
|
||||
|
@ -53,4 +52,8 @@
|
|||
window.nodeFetch = require('node-fetch');
|
||||
window.httpsAgent = require('https').Agent;
|
||||
window.nodeBuffer = Buffer;
|
||||
|
||||
// We pull this in last, because the native module involved appears to be sensitive to
|
||||
// /tmp mounted as noexec on Linux.
|
||||
require('./js/spell_check');
|
||||
})();
|
||||
|
|
Loading…
Add table
Reference in a new issue