Skip to content

Commit

Permalink
Fix stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Mar 12, 2018
1 parent cc27e3a commit 99ba454
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,5 @@ module.exports = {
Scenario: true,
Then: true,
When: true
},
rules: {
indent: ['error', 2, { flatTernaryExpressions: true, MemberExpression: 0, SwitchCase: 1 }],
'no-cond-assign': [2, 'except-parens'],
'no-multi-spaces': ['error', { ignoreEOLComments: true }],
'one-var-declaration-per-line': 2
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.1.5 2018-03-12

* Reformatting.

## v3.1.4 2018-03-12

* Use markdownlint.
Expand Down
8 changes: 4 additions & 4 deletions examples/read-once-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var rstream = new PromiseReadable(fs.createReadStream(process.argv[2] || '/etc/h
rstream.stream.pipe(process.stdout)

rstream.once('end')
.then(function () {
console.log('-- End of file')
rstream.destroy()
})
.then(function () {
console.log('-- End of file')
rstream.destroy()
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "promise-readable",
"version": "3.1.4",
"version": "3.1.5",
"description": "Return promise for readable stream",
"main": "lib/promise-readable.js",
"typings": "lib/promise-readable.d.ts",
Expand Down

0 comments on commit 99ba454

Please sign in to comment.