[Pkg-javascript-commits] [node-tap] 126/186: Do not use module touch

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 16:40:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-tap.

commit acaf6083251616e9055468949b433f39d96b1dd6
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Tue Sep 12 14:52:07 2017 +0200

    Do not use module touch
    
    Forwarded: no
---
 module-fs-exists-cached/test.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module-fs-exists-cached/test.js b/module-fs-exists-cached/test.js
index 99a1c48..9eb9461 100644
--- a/module-fs-exists-cached/test.js
+++ b/module-fs-exists-cached/test.js
@@ -1,6 +1,6 @@
 var exists = require('./')
 var t = require('tap')
-var touch = require('touch')
+var touch = { 'sync' : function (f) { var fs = require('fs') ;fs.closeSync(fs.openSync(f,'w')) ; } }
 var rimraf = require('rimraf')
 
 t.test('setup', function (t) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git



More information about the Pkg-javascript-commits mailing list