Adam Majer 2021-02-01 13:15:04 +00:00 committed by Git OBS Bridge
parent 7c94fd248c
commit 5693d015d9

View File

@ -1,17 +0,0 @@
Index: local_npm_registry-v0.0.1/dist/index.js
===================================================================
--- local_npm_registry-v0.0.1.orig/dist/index.js
+++ local_npm_registry-v0.0.1/dist/index.js
@@ -96,7 +96,11 @@ function mainEntryFunction() {
.then(port => configureNpmToSpecificLocalhostPort(service, port))
.then(() => runNpmInstall())
.then(() => {
- console.log("npm done. Shutting down proxy");
+ console.log("npm done");
+ }).catch(err => {
+ console.log("npm errors: %s", err);
+ }).finally(() => {
+ console.log("Shutting down proxy");
return service.stop();
});
return 0;