mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-01 09:14:27 +08:00
removed multiline flag
This commit is contained in:
parent
80a675ab64
commit
40298d7276
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ export async function init(): Promise<void> {
|
|||
TestWords.setHasTab(true);
|
||||
}
|
||||
|
||||
const te = randomWord.replace(/\n/g, "\n ").replace(/ $/gm, "");
|
||||
const te = randomWord.replace(/\n/g, "\n ").replace(/ $/g, "");
|
||||
|
||||
if (/ +/.test(te)) {
|
||||
const randomList = te.split(" ");
|
||||
|
|
Loading…
Reference in a new issue