style(standard): fix ternaries
This commit is contained in:
@@ -12,9 +12,9 @@ module.exports = {
|
||||
|
||||
cb(
|
||||
null,
|
||||
/\.\.HEAD/.test(command) ?
|
||||
rawCommits[0] :
|
||||
rawCommits.join()
|
||||
/\.\.HEAD/.test(command)
|
||||
? rawCommits[0]
|
||||
: rawCommits.join()
|
||||
)
|
||||
},
|
||||
'@noCallThru': true
|
||||
|
||||
Reference in New Issue
Block a user