From a85978f2be4d5da1161442721b8fbad6480645e6 Mon Sep 17 00:00:00 2001 From: Michael Arnel Date: Sun, 7 May 2017 08:03:00 -0400 Subject: [PATCH 1/2] 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. --- lib/cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cli.js b/lib/cli.js index 835a4521e..b85f3d5c4 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -134,6 +134,7 @@ function afterConfigLoad() { ' https:', ' key: verdaccio-key.pem', ' cert: verdaccio-cert.pem', + ' ca: verdaccio-cert.pem' ].join('\n')); process.exit(2); } From f4c584cfce4839eee7bab8743e93b9f5028768f4 Mon Sep 17 00:00:00 2001 From: Michael Arnel Date: Sun, 7 May 2017 08:44:53 -0400 Subject: [PATCH 2/2] add trailing comma for eslint rule --- lib/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index b85f3d5c4..69f1426fc 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -134,7 +134,7 @@ function afterConfigLoad() { ' https:', ' key: verdaccio-key.pem', ' cert: verdaccio-cert.pem', - ' ca: verdaccio-cert.pem' + ' ca: verdaccio-cert.pem', ].join('\n')); process.exit(2); }