Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trim whitespace before checking if the message type is "ms" (timer)

  • Loading branch information...
commit 890bdab8949b06347fab760a85c5ca6887bda79f 1 parent 1b4d284
@mbabineau mbabineau authored kastner committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  stats.js
View
2  stats.js
@@ -36,7 +36,7 @@ config.configFile(process.argv[2], function (config, oldConfig) {
for (var i = 0; i < bits.length; i++) {
var sampleRate = 1;
var fields = bits[i].split("|");
- if (fields[1] == "ms") {
+ if (fields[1].trim() == "ms") {
if (! timers[key]) {
timers[key] = [];
}
Please sign in to comment.
Something went wrong with that request. Please try again.