File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import * as TestState from "./test-state";
77import * as Numbers from "@monkeytype/util/numbers" ;
88import { CompletedEvent , IncompleteTest } from "@monkeytype/schemas/results" ;
99import { isFunboxActiveWithProperty } from "./funbox/list" ;
10- import * as CustomText from "./custom-text" ;
1110
1211type CharCount = {
1312 spaces : number ;
@@ -344,11 +343,7 @@ function countChars(): CharCount {
344343 }
345344 correctChars += toAdd . correct ;
346345 incorrectChars += toAdd . incorrect ;
347- if (
348- i === inputWords . length - 1 &&
349- ( Config . mode === "time" ||
350- ( Config . mode === "custom" && CustomText . getLimit ( ) . mode === "time" ) )
351- ) {
346+ if ( i === inputWords . length - 1 ) {
352347 //last word - check if it was all correct - add to correct word chars
353348 if ( toAdd . incorrect === 0 ) correctWordChars += toAdd . correct ;
354349 } else {
You can’t perform that action at this time.
0 commit comments