Skip to content

Commit

Permalink
chore: Include Open3CL version in dpe output
Browse files Browse the repository at this point in the history
  • Loading branch information
jzck committed Jul 18, 2024
1 parent edeaf1e commit 1a28159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export function calcul_3cl(dpe) {

add_references(logement.enveloppe);

dpe.administratif.diagnostiqueur = { version_moteur_calcul: 'Open3CL v0' };
// TODO commit version to package.json during release process
const package_version = require('../package.json').version;
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3cl v${package_version}` };
const env = logement.enveloppe;
let Sh;
// TODO requestInput Sh
Expand Down

0 comments on commit 1a28159

Please sign in to comment.