Fixed Travis CI errors

Changed indentation from spaces to tabs
changed strings from single quote to double quote
This commit is contained in:
Beh
2017-03-07 00:34:17 +01:00
parent 9848f80630
commit f8d80422b2

View File

@@ -33,22 +33,22 @@ var CalendarFetcher = function(url, reloadInterval, maximumEntries, maximumNumbe
};
if (auth) {
if(auth.method === 'bearer'){
opts.auth = {
bearer: auth.pass
}
if(auth.method === "bearer"){
opts.auth = {
bearer: auth.pass
}
}else{
opts.auth = {
user: auth.user,
pass: auth.pass
};
}else{
opts.auth = {
user: auth.user,
pass: auth.pass
};
if(auth.method === 'digest'){
opts.auth.sendImmediately = false;
}else{
opts.auth.sendImmediately = true;
}
if(auth.method === "digest"){
opts.auth.sendImmediately = false;
}else{
opts.auth.sendImmediately = true;
}
}
}