Skip to content

Commit

Permalink
Merge pull request #15 from felixheck/check-node-10-11
Browse files Browse the repository at this point in the history
update dependencies (node 10/11, pino 5)
  • Loading branch information
felixheck committed Nov 5, 2018
2 parents dbad362 + 75a0f9e commit d6f6db8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: node_js

node_js:
- 8
- lts/*
- node

before_script:
- npm install
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"hapi-pino": "^5.1.0"
},
"engines": {
"node": ">= 8",
"npm": ">= 5"
"node": ">= 8.9",
"npm": ">= 5.5.1"
}
}
2 changes: 1 addition & 1 deletion src/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getLoggerConfig (options) {
const processed = compile(format, tokens, isJSON, options.indent, preprocessed, pictor)
const postprocessed = validator('postformatterOutput', options.postformatter(processed, options))

return postprocessed
return `${postprocessed}\n`
}
})
}
Expand Down

0 comments on commit d6f6db8

Please sign in to comment.