Skip to content

Commit

Permalink
Fix error typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Jan 26, 2016
1 parent d473eb3 commit 5f8224f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function createHooks(reponame, url, secret, token, callback) {

var badStatusErr;
if (res.statusCode === 404) {
badStatusErr = new Error('Cannot create webhooks; are you sure you have admin rights?\nFeel free to manually create a webhook for ' + url');
badStatusErr = new Error('Cannot create webhooks; are you sure you have admin rights?\nFeel free to manually create a webhook for ' + url);
badStatusErr.statusCode = res.statusCode;
return callback(badStatusErr);
}
Expand Down

0 comments on commit 5f8224f

Please sign in to comment.