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 099f00e
Show file tree
Hide file tree
Showing 2 changed files with 4 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
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ export type {
} from "../publicodes-build"

export * from "./CarSimulator"

export * from "./personas"

0 comments on commit 099f00e

Please sign in to comment.