Skip to content

Commit

Permalink
fix: can't require package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jzck committed Aug 5, 2024
1 parent d3623d4 commit db6b553
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ export function calcul_3cl(dpe) {
add_references(logement.enveloppe);

// 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 package_version = require('../package.json').version; */
const package_version = 'alpha';
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3CL ${package_version}` };
const env = logement.enveloppe;
let Sh;
// TODO requestInput Sh
Expand Down

0 comments on commit db6b553

Please sign in to comment.