style(standard): fix ternaries

This commit is contained in:
Stephan Bönnemann
2015-09-26 12:45:11 +02:00
parent 785140f80c
commit 927e930bb9
5 changed files with 12 additions and 13 deletions
+3 -3
View File
@@ -12,9 +12,9 @@ module.exports = {
cb(
null,
/\.\.HEAD/.test(command) ?
rawCommits[0] :
rawCommits.join()
/\.\.HEAD/.test(command)
? rawCommits[0]
: rawCommits.join()
)
},
'@noCallThru': true
-1
View File
@@ -67,7 +67,6 @@ test('plugin pipelines', (t) => {
})
test('normalize and load plugin', (t) => {
t.test('load from string', (tt) => {
const plugin = plugins.normalize('./dist/lib/plugin-noop')