[Pkg-javascript-commits] [node-coveralls] 02/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 99060b0f16f9ce99cc6c0cdce67c532d2a6125a2
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