mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
Chore: Desktop: Fix tests in IPC pull request (#12004)
This commit is contained in:
1 parent
93219575b4
commit
0959a19d65
4 files changed
+25
-4
No files matched your search
@@ -188,6 +188,12 @@ const processStartFlags = async (argv: string[], setDefaults = true) => {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg === '--running-tests') {
|
||||
// Used by the desktop app to indicate that the app is running end-to-end tests.
|
||||
argv.splice(0, 1);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg.length && arg[0] === '-') {
|
||||
throw new JoplinError(_('Unknown flag: %s', arg), 'flagError');
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user