summaryrefslogtreecommitdiff
path: root/tools/eslint-rules
diff options
context:
space:
mode:
authorSebastiaan Deckers <sebdeckers83@gmail.com>2017-07-10 20:55:21 -0400
committerRefael Ackermann <refack@gmail.com>2017-07-21 15:13:47 -0400
commitbb294059040def8e8c0b1719cc17f6537ab5cb39 (patch)
treeacc6b7bcf88da8e6078fa5ab91f6718289f32bbf /tools/eslint-rules
parent4f875222445b07016a8294fa5a5bf7418c735489 (diff)
downloadandroid-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/eslint-rules')
-rw-r--r--tools/eslint-rules/prefer-assert-iferror.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint-rules/prefer-assert-iferror.js b/tools/eslint-rules/prefer-assert-iferror.js
index 0da272d5f6..e152874176 100644
--- a/tools/eslint-rules/prefer-assert-iferror.js
+++ b/tools/eslint-rules/prefer-assert-iferror.js
@@ -33,7 +33,7 @@ module.exports = {
context.report({
node: firstStatement,
message: 'Use assert.ifError({{argument}}) instead.',
- data: {argument: sourceCode.getText(node.test)}
+ data: { argument: sourceCode.getText(node.test) }
});
}
}