mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-03 15:32:30 +02:00
Tools: Add info link when spelling mistake check fails
This commit is contained in:
parent
afedc53354
commit
40ae03c438
@ -30,8 +30,7 @@ const main = async () => {
|
||||
await execCommand(cmd, { showStderr: false, showStdout: false });
|
||||
} catch (error) {
|
||||
if (!error.stdout.trim()) return;
|
||||
|
||||
console.error(`Some spelling mistakes were found:\n${error.stdout}`);
|
||||
console.error(`The following spelling mistakes were found. Please check https://joplinapp.org/help/dev/spellcheck for\ninformation on how to deal with spelling mistakes.\n\n${error.stdout}`);
|
||||
process.exit(1);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user