Comparing version 1.10.2 to 1.10.3
@@ -93,2 +93,3 @@ #!/usr/bin/env node | ||
}); | ||
var status = 'stopped'; | ||
s.once('data', function (row) { | ||
@@ -98,8 +99,8 @@ var started = new Date(row.key.split('!')[1]); | ||
var elapsed = (new Date) - started; | ||
console.log('elapsed time: ' + fmt(elapsed)); | ||
status = 'elapsed time: ' + fmt(elapsed); | ||
} | ||
else { | ||
console.log('stopped'); | ||
} | ||
}); | ||
s.once('end', function () { | ||
console.log(status); | ||
}); | ||
} | ||
@@ -106,0 +107,0 @@ else if (argv._[0] === 'data') { |
{ | ||
"name": "clocker", | ||
"version": "1.10.2", | ||
"version": "1.10.3", | ||
"description": "track project hours", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20604
424