mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -18,13 +18,12 @@ Strategy.prototype.userProfile = function(accessToken, callback) {
|
||||
if (err) {
|
||||
return callback(err)
|
||||
}
|
||||
else {
|
||||
try {
|
||||
return callback(null, JSON.parse(data))
|
||||
}
|
||||
catch (err) {
|
||||
return callback(err)
|
||||
}
|
||||
|
||||
try {
|
||||
return callback(null, JSON.parse(data))
|
||||
}
|
||||
catch (err) {
|
||||
return callback(err)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user