Skip to content

Commit f08a10f

Browse files
committed
Delete trailing spaces
1 parent a16d2f3 commit f08a10f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

github.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -252,18 +252,18 @@
252252
_request("DELETE", repoPath + "/git/refs/"+ref, options, cb);
253253
};
254254

255-
// Create a repo
255+
// Create a repo
256256
// -------
257257

258258
this.createRepo = function(options, cb) {
259259
_request("POST", "/user/repos", options, cb);
260260
};
261261

262-
// Delete a repo
263-
// --------
262+
// Delete a repo
263+
// --------
264264

265-
this.deleteRepo = function(cb) {
266-
_request("DELETE", repoPath, options, cb);
265+
this.deleteRepo = function(cb) {
266+
_request("DELETE", repoPath, options, cb);
267267
};
268268

269269
// List all tags of a repository
@@ -455,9 +455,9 @@
455455
_request("POST", repoPath + "/forks", null, cb);
456456
};
457457

458-
// Branch repository
459-
// --------
460-
458+
// Branch repository
459+
// --------
460+
461461
this.branch = function(oldBranch,newBranch,cb) {
462462
if(arguments.length === 2 && typeof arguments[1] === "function") {
463463
cb = newBranch;
@@ -549,24 +549,24 @@
549549
});
550550
});
551551
};
552-
552+
553553
// Delete a file from the tree
554554
// -------
555-
555+
556556
this.delete = function(branch, path, cb) {
557557
that.getSha(branch, path, function(err, sha) {
558558
if (!sha) return cb("not found", null);
559559
var delPath = repoPath + "/contents/" + path;
560560
var params = {
561561
"message": "Deleted " + path,
562-
"sha": sha
562+
"sha": sha
563563
};
564564
delPath += "?message=" + encodeURIComponent(params.message);
565565
delPath += "&sha=" + encodeURIComponent(params.sha);
566566
_request("DELETE", delPath, null, cb);
567567
})
568568
}
569-
569+
570570
// Move a file to a new location
571571
// -------
572572

0 commit comments

Comments
 (0)