You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Chore: Improve isNode to be more inclusive (#9054)
This commit is contained in:
@@ -42,7 +42,7 @@ const shim = {
|
||||
isNode: () => {
|
||||
if (typeof process === 'undefined') return false;
|
||||
if (shim.isElectron()) return true;
|
||||
return process.title === 'node' || (process.title && process.title.indexOf('gulp') === 0);
|
||||
return !shim.mobilePlatform();
|
||||
},
|
||||
|
||||
isReactNative: () => {
|
||||
|
||||
Reference in New Issue
Block a user