aboutsummaryrefslogtreecommitdiff
path: root/git-remote-gitswarm
diff options
context:
space:
mode:
authorChris Ball <chris@printf.net>2015-05-26 21:58:48 -0400
committerChris Ball <chris@printf.net>2015-05-26 21:58:48 -0400
commit62575ab19c870d8925ae0e896aa55eaf1f7b0bd1 (patch)
tree0d9c081b7e909f0b24628159ffb4f5b254bafefe /git-remote-gitswarm
parent02d7e716a9abf07d532842222374de581319768f (diff)
Use JSON format in README for key file
Diffstat (limited to 'git-remote-gitswarm')
-rwxr-xr-xgit-remote-gitswarm4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-remote-gitswarm b/git-remote-gitswarm
index 20f9000..8b405e0 100755
--- a/git-remote-gitswarm
+++ b/git-remote-gitswarm
@@ -29,7 +29,7 @@ if (matches) {
var reponame = matches[2]
dht.on('ready', function () {
var val = new Buffer(key, 'hex')
- dht.get(val, function(err, res) {
+ dht.get(val, function (err, res) {
if (err) {
return console.error(err)
}
@@ -69,7 +69,7 @@ function get_infohash (ref) {
console.warn('\nOkay, we want to get: ' + chalk.green(ref) + '\n')
process.stdin.setEncoding('utf8')
- process.stdin.on('readable', function() {
+ process.stdin.on('readable', function () {
var chunk = process.stdin.read()
if (chunk === 'capabilities\n') {
process.stdout.write('fetch\n\n')