[Pkg-javascript-commits] [node-lcov-parse] 26/45: index: fixed lint errors
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:46:17 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 09f2235f67e8a37bb1e6d4cfd5230aad23b6dab4
Author: Dav Glass <davglass at gmail.com>
Date: Fri May 23 13:18:41 2014 -0500
index: fixed lint errors
---
lib/index.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/lib/index.js b/lib/index.js
index 55edcab..b9b2e6a 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -5,17 +5,19 @@ http://yuilibrary.com/license/
*/
var fs = require('fs'),
- path = require('path'),
- exists = fs.exists || path.exists;
+ path = require('path');
+
+/* istanbul ignore next */
+var exists = fs.exists || path.exists;
var walkFile = function(str, cb) {
var data = [], item;
[ 'end_of_record' ].concat(str.split('\n')).forEach(function(line) {
line = line.trim();
- var allparts = line.split(':');
- var parts = [allparts.shift(), allparts.join(':')];
- var lines, fn;
+ var allparts = line.split(':'),
+ parts = [allparts.shift(), allparts.join(':')],
+ lines, fn;
switch (parts[0].toUpperCase()) {
case 'TN':
--
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