From 5693d015d9ca7e3b843bc613355c3a95b9a715753d03ae98d93221f9b95c9e92 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 1 Feb 2021 13:15:04 +0000 Subject: [PATCH] Remove obsolete patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/local-npm-registry?expand=0&rev=2 --- catch_errors.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 catch_errors.patch diff --git a/catch_errors.patch b/catch_errors.patch deleted file mode 100644 index d7953d5..0000000 --- a/catch_errors.patch +++ /dev/null @@ -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;