Skip to content

Commit 3c528a1

Browse files
committed
resolved eslint error
1 parent 76cb6fb commit 3c528a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/analysis/buildTypeWeights.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ function parseObjectFields(
125125
resolveTo: listType.toString().toLocaleLowerCase(),
126126
weight: Number(dir.arguments[0].value.value),
127127
};
128-
return result;
129-
} else
130-
throw new SyntaxError(`@listCost directive improperly configured`);
128+
}
129+
throw new SyntaxError(`@listCost directive improperly configured`);
131130
}
132131
});
133132
}

0 commit comments

Comments
 (0)