File: 00-win_spawn.diff

package info (click to toggle)
node-death 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 144 kB
  • ctags: 5
  • sloc: makefile: 2; sh: 2
file content (14 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Replace the dependency on win-spawn with child_prcess.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

Index: node-death/test/death.test.js
===================================================================
--- node-death.orig/test/death.test.js
+++ node-death/test/death.test.js
@@ -1,4 +1,4 @@
-var spawn = require('win-spawn')
+var spawn = require('child_process').spawn;
 var P = require('autoresolve')
 var testutil = require('testutil')
 var colors = require('colors')