From 609a52490a6496028496bcd963f33277e132135e Mon Sep 17 00:00:00 2001 From: Kunzi Mariano Date: Mon, 6 Oct 2014 20:54:58 -0300 Subject: [PATCH] #122 - Added white space after params... - Re-generated js files with CoffeeScript 1.7.1 --- lib/octonode/repo.js | 2 +- src/octonode/repo.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/octonode/repo.js b/lib/octonode/repo.js index 181f60c..dc3cee0 100644 --- a/lib/octonode/repo.js +++ b/lib/octonode/repo.js @@ -1,4 +1,4 @@ -// Generated by CoffeeScript 1.8.0 +// Generated by CoffeeScript 1.7.1 (function() { var Repo, __slice = [].slice; diff --git a/src/octonode/repo.coffee b/src/octonode/repo.coffee index ceb9dd0..c14ee17 100755 --- a/src/octonode/repo.coffee +++ b/src/octonode/repo.coffee @@ -40,7 +40,7 @@ class Repo # '/repos/pksunkara/hub/commits' GET # - page or query object, optional - params[0] # - per_page, optional - params[1] - commits: (params...,cb) -> + commits: (params..., cb) -> @client.get "/repos/#{@name}/commits", params..., (err, s, b, h) -> return cb(err) if err if s isnt 200 then cb(new Error("Repo commits error")) else cb null, b, h