X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=skip-preinstall.js;h=fb2477d707f2b57a8f3bb0760a775a92f13ee5b2;hb=c11be92a38d40495df5ec37b9ff946993c4dc84f;hp=e181f0e008798cb6151a924d13807f4e1d1f8e60;hpb=68220b423c52da387fdf41967dd8c738da0ff52e;p=e-mobility-charging-stations-simulator.git diff --git a/skip-preinstall.js b/skip-preinstall.js index e181f0e0..fb2477d7 100644 --- a/skip-preinstall.js +++ b/skip-preinstall.js @@ -1,6 +1,6 @@ import { env, exit } from 'node:process' -const skipPreinstall = parseInt(env.SKIP_PREINSTALL) || env.VCAP_APPLICATION != null +const skipPreinstall = Number.parseInt(env.SKIP_PREINSTALL) || env.VCAP_APPLICATION != null if (skipPreinstall) { // eslint-disable-next-line n/no-process-exit exit()