File: fix-proxy-events.patch

package info (click to toggle)
node-shiny-server 1.5.20.1002-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,740 kB
  • sloc: javascript: 7,112; sh: 933; cpp: 303; python: 155; makefile: 34
file content (23 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Add debian-specific fix to http-proxy test
Author: Nilesh Patra <nilesh@debian.org>
Forwarded: not-needed
Last-Updated: March 24, 2022

--- a/test/proxy-events.js
+++ b/test/proxy-events.js
@@ -28,7 +28,7 @@
     let pipeline = [
       // Find all instances of ".emit(..."
       // Since we're using -o and -h, only the actual matches will be printed
-      ["grep", "-Roh", "\\.emit([^,]\\+", "node_modules/http-proxy"],
+      ["grep", "-Roh", "\\.emit([^,]\\+", "/usr/share/nodejs/http-proxy/"],
       // Strip the ".emit(" prefix
       ["sed", "s/\\.emit(//"],
       // Strip quotation marks, whitespace
@@ -65,4 +65,4 @@
     );
 
   });
-});
\ No newline at end of file
+});