0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

Add additional requirement to output message

With out the ca parameter in the https config section the server fails to start with a 500 error and complains that path must be a string.
This commit is contained in:
Michael Arnel 2017-05-07 08:03:00 -04:00 committed by GitHub
parent 90e1a66930
commit a85978f2be

View file

@ -134,6 +134,7 @@ function afterConfigLoad() {
' https:',
' key: verdaccio-key.pem',
' cert: verdaccio-cert.pem',
' ca: verdaccio-cert.pem'
].join('\n'));
process.exit(2);
}