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

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:16 UTC 2017


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

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

commit b1ee5034aeffaf8bcf087f44405fccdc32e5385e
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
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