1
0
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:
Laurent Cozic 2024-02-27 14:22:26 +00:00
parent afedc53354
commit 40ae03c438

View File

@ -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);
}
};