mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Fix typos (#11405)
This commit is contained in:
parent
139e57e56a
commit
38228cf1be
|
|
@ -439,7 +439,7 @@ export function parseModlog(raw: string, nextLine?: string, isGlobal = false): M
|
|||
log.action = action;
|
||||
if (log.action === 'OLD MODLOG') {
|
||||
log.loggedBy = 'unknown' as ID;
|
||||
log.note = line.slice(line.indexOf('by unknown: ') + 'by unknown :'.length).trim();
|
||||
log.note = line.slice(line.indexOf('by unknown: ') + 'by unknown: '.length).trim();
|
||||
return log;
|
||||
}
|
||||
line = line.slice(actionColonIndex + 2);
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ games asynchronously.
|
|||
The `exhaustive` subcommand cycles through all generations and game types,
|
||||
attempting to use as many different effects as possible in the battles it
|
||||
randomly simulates. This can be useful as a form of
|
||||
['smoke testing'](https://en.wikipedia.org/wiki/Smoke_testing_\(software\)), a
|
||||
['smoke testing'](<https://en.wikipedia.org/wiki/Smoke_testing_(software)>), a
|
||||
form of sanity testing/build verification which can be used to expose obvious
|
||||
critical issues with the application. Making it through a successful cycle of
|
||||
smoke tests does *not* mean the application is without bugs, or even that it is
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ for (let i = 0; i < n; i++) {
|
|||
newGenerator.getTeam();
|
||||
}
|
||||
const delta = Date.now() - start;
|
||||
console.log(`${format.name}: ${Math.round((delta / n) * 1000)}ns per team (${n} teams in ${delta}ms)`);
|
||||
console.log(`${format.name}: ${Math.round((delta / n) * 1000)}\u03BCs per team (${n} teams in ${delta}ms)`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user