File: remove-code-comments.patch

package info (click to toggle)
node-flow-remove-types 1.2.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 204 kB
  • sloc: javascript: 668; sh: 44; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Subject: remove v8 unsupported --code-comments flag in test suite
 v8 in nodejs 16 dropped that flag in non-debug builds.
 It doesn't bring anything to the test anyway.
Last-Update: 2022-05-03
Author: Jérémy Lal <kapouer@melix.org>
Forwarded: not-needed, archived upstream

--- a/test.sh
+++ b/test.sh
@@ -46,5 +46,5 @@
 
 # Test flow-node with options
 echo "Test: flow-node with options"
-FLOW_NODE_OPTS=$(./flow-node --code-comments -p 'process.argv.length');
+FLOW_NODE_OPTS=$(./flow-node -p 'process.argv.length');
 if [ "$FLOW_NODE_OPTS" != 4 ]; then echo 'flow-node with options failed'; exit 1; fi;