mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
many small issues found by intellij analysis
This commit is contained in:
@@ -11,7 +11,7 @@ const syncOptions = require('./sync_options');
|
||||
function exec(opts) {
|
||||
const client = getClient(opts);
|
||||
|
||||
// hack for cases where electron.net does not work but we don't want to set proxy
|
||||
// hack for cases where electron.net does not work, but we don't want to set proxy
|
||||
if (opts.proxy === 'noproxy') {
|
||||
opts.proxy = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user