Skip to content

Commit

Permalink
build(deps-dev): bump xo from 0.24.0 to 0.25.3
Browse files Browse the repository at this point in the history
Improve code
  • Loading branch information
forresst committed Nov 4, 2019
1 parent 1cbd04c commit 828d7a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const stringify = (input, objectAfter) => {
let result = input;
if (addContent !== '') {
// To avoid to have a metadata and the file content on same line
if (input.substr(0, 1) !== newLine) {
if (input.slice(0, 1) !== newLine) {
addContent += newLine;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"markdown-magic-package-json": "^2.0.1",
"mock-fs": "^4.10.1",
"nyc": "^14.1.1",
"xo": "^0.24.0"
"xo": "^0.25.3"
},
"nyc": {
"reporter": [
Expand Down

0 comments on commit 828d7a4

Please sign in to comment.