aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-10 21:39:35 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-10 21:41:21 -1000
commit7eae14a8fdf74f192c800d55357ab755d78a966f (patch)
treec85e21508ed484acf50471020d44e0f7c5a8c2c9
parent5c93e1267a7951f6aadae0ac269f73de9da7f423 (diff)
downloadpatchfoo-7eae14a8fdf74f192c800d55357ab755d78a966f.tar.gz
patchfoo-7eae14a8fdf74f192c800d55357ab755d78a966f.zip
Fix off-by-one error
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 7e2fe3b..145777d 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -2668,7 +2668,7 @@ Serve.prototype.wrapBinary = function (opts) {
})(read)
}))
}
- var i = 0
+ var i = 1
var updateMsg = opts.obj.msg
var commitId = self.query.commit
var filePath = self.query.path