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

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:15 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 4d9e62dea62ce81c3e4279f0573c95b30d571cd9
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