File: 01-nodejs.diff

package info (click to toggle)
node-cli-cursor 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 124 kB
  • ctags: 14
  • sloc: makefile: 4; sh: 2
file content (15 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Patch the name of the nodejs binary.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@libpf.com>

Index: node-cli-cursor/test.js
===================================================================
--- node-cli-cursor.orig/test.js
+++ node-cli-cursor/test.js
@@ -54,5 +54,5 @@ test('toggle force 3', function() {
 
 // used to fail, see sindresorhus/log-update#2
 test('require', function() {
-	assert.equal(childProcess.execSync('node index.js', {encoding: 'utf8'}), '');
+	assert.equal(childProcess.execSync('nodejs index.js', {encoding: 'utf8'}), '');
 });