repositories
/
e-mobility-charging-stations-simulator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix(ocpp-server): properly handle charge point disconnection
[e-mobility-charging-stations-simulator.git]
/
skip-preinstall.js
1
import
{
env
,
exit
}
from
'node:process'
2
3
const
skipPreinstall
=
Number
.
parseInt
(
env
.
SKIP_PREINSTALL
) ||
env
.
VCAP_APPLICATION
!=
null
4
if
(
skipPreinstall
) {
5
// eslint-disable-next-line n/no-process-exit
6
exit
()
7
}
else
{
8
// eslint-disable-next-line n/no-process-exit
9
exit
(
1
)
10
}