[Pkg-javascript-commits] [node-lcov-parse] 20/45: Windows compatibility
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:46: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-lcov-parse.
commit 4cba74596758144a4c13b336f2ea571c0c09502c
Author: Gerard Escalante <gerard at saygo.ca>
Date: Mon Jan 20 16:44:52 2014 +0900
Windows compatibility
---
lib/index.js | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/index.js b/lib/index.js
index 7666d35..55e94c0 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -21,7 +21,7 @@ var walkFile = function(str, cb) {
item.title = parts[1].trim();
break;
case 'SF':
- item.file = parts[1].trim();
+ item.file = parts.slice(1).join().trim();
break;
case 'FNF':
item.functions.found = Number(parts[1].trim());
diff --git a/package.json b/package.json
index eca61f6..49dcddf 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
},
"scripts": {
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/",
- "test": "istanbul cover --print both vows -- --spec ./tests/*.js"
+ "test": "istanbul cover --print both ./node_modules/vows/bin/vows -- --spec ./tests/*.js"
},
"licenses":[
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-lcov-parse.git
More information about the Pkg-javascript-commits
mailing list