diff options
author | Yosuke Furukawa <yosuke.furukawa@gmail.com> | 2015-04-29 02:46:14 +0900 |
---|---|---|
committer | Yosuke Furukawa <yosuke.furukawa@gmail.com> | 2015-05-09 12:10:02 +0900 |
commit | 19ffb5cf1c50e9d91d0a7a35152d20f175a2385d (patch) | |
tree | e07b7b4a9d7901620139a9e7eab4ea3e05ce4f73 /lib/assert.js | |
parent | f9dd34d301ab385ae316769b85ef916f9b70b6f6 (diff) | |
download | nodejs-19ffb5cf1c50e9d91d0a7a35152d20f175a2385d.tar.gz nodejs-19ffb5cf1c50e9d91d0a7a35152d20f175a2385d.tar.bz2 nodejs-19ffb5cf1c50e9d91d0a7a35152d20f175a2385d.zip |
lib: fix eslint styles
PR-URL: https://github.com/iojs/io.js/pull/1539
Fixes: https://github.com/iojs/io.js/issues/1253
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Diffstat (limited to 'lib/assert.js')
-rw-r--r-- | lib/assert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/assert.js b/lib/assert.js index 4a01e5c7f..70e784a50 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -323,4 +323,4 @@ assert.doesNotThrow = function(block, /*optional*/message) { _throws.apply(this, [false].concat(pSlice.call(arguments))); }; -assert.ifError = function(err) { if (err) {throw err;}}; +assert.ifError = function(err) { if (err) throw err; }; |