style: adhere to standard style

This commit is contained in:
Stephan Bönnemann
2015-03-22 10:44:19 +01:00
parent f32a8e7d03
commit d5a8cb1935
8 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ var efh = require('error-first-handler')
module.exports = {
efh: efh,
standard: efh(function(err) {
standard: efh(function (err) {
console.log('Something went wrong:')
if (typeof err === 'string') return console.log(err)
if (err instanceof Error) return console.log(err.message)