Skip to content

Commit 5f8224f

Browse files
author
Ilya Radchenko
committed
Fix error typo
1 parent d473eb3 commit 5f8224f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function createHooks(reponame, url, secret, token, callback) {
5252

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

0 commit comments

Comments
 (0)