Skip to content

Commit

Permalink
nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Nov 21, 2024
1 parent fa244c2 commit 591f0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CarSimulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ export class CarSimulator {
return {
kind: "car",
title: this.engine.getRule(rule).title,
cost: this.evaluateRule((rule + " . coûts") as RuleName),
emissions: this.evaluateRule((rule + " . empreinte") as RuleName),
cost: this.evaluateRule(ruleName(rule, "coûts")),
emissions: this.evaluateRule(ruleName(rule, "empreinte")),
size: {
value: sizeOption,
title: this.engine.getRule(ruleName("voiture . gabarit", sizeOption))
Expand Down

0 comments on commit 591f0b7

Please sign in to comment.