[Pkg-javascript-commits] [node-coveralls] 05/08: Fix path with version in test

Bastien Roucariès rouca at moszumanska.debian.org
Tue Feb 20 12:28:54 UTC 2018


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

rouca pushed a commit to tag debian-3.0.0-2
in repository node-coveralls.

commit 16c5611d2475a8c8c24ad3aad21cb7ea3e4b32d6
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Sep 7 22:54:41 2017 +0200

    Fix path with version in test
    
    Forwarded: no
---
 test/detectLocalGit.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/detectLocalGit.js b/test/detectLocalGit.js
index 64da493..87bb490 100644
--- a/test/detectLocalGit.js
+++ b/test/detectLocalGit.js
@@ -56,10 +56,10 @@ function _cleanTempGitDir() {
 }
 
 function _deleteFolderRecursive(dir) {
-
-  if (!dir.match('node-coveralls/test')) {
-    throw new Error('Tried to clean a temp git directory that did not match path: node-coveralls/test');
-  }
+  // see #886287
+  //if (!dir.match('node-coveralls[^/]*/test')) {
+  //    throw new Error('Tried to clean a temp git directory that did not match path: node-coveralls/test');
+  //}
 
   if(fs.existsSync(dir)) {
 

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



More information about the Pkg-javascript-commits mailing list