Skip to content

Commit 2461c35

Browse files
committed
Fixed some whitespace issues.
1 parent dc03db9 commit 2461c35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
function headers() {
1717
var headers = {}
1818
if (options.auth === 'oauth' && !options.token) return { Accept: 'application/vnd.github.raw' };
19-
if (options.auth === 'basic' && (!options.username || !options.password)) return { Accept: 'application/vnd.github.raw' };
19+
if (options.auth === 'basic' && (!options.username || !options.password)) return { Accept: 'application/vnd.github.raw' };
2020
return options.auth == 'oauth'
21-
? { Authorization: 'token '+ options.token, Accept: 'application/vnd.github.raw' }
21+
? { Authorization: 'token '+ options.token, Accept: 'application/vnd.github.raw' }
2222
: { Authorization : 'Basic ' + Base64.encode(options.username + ':' + options.password), Accept: 'application/vnd.github.raw' }
2323
}
2424

0 commit comments

Comments
 (0)