Skip to content

Commit 64c2f00

Browse files
committed
cat score wrong index start
1 parent 7e9fe73 commit 64c2f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/results.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Results {
6060

6161
int _partialCATScoreCalculator() {
6262
int score = 0;
63-
for (int i = 0; i < _commands.length; i++) {
63+
for (int i = 1; i < _commands.length; i++) {
6464
int lineScore = 0;
6565
final List<String> tokenized = splitCommand(_commands[i]);
6666
switch (tokenized.first) {

0 commit comments

Comments
 (0)