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
+});
|