We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0fd33 commit 967949dCopy full SHA for 967949d
1 file changed
test/testFile.js
@@ -10,7 +10,7 @@ function testFile (filePath, depth) {
10
// Inspect depth is optional
11
var basename = path.basename(filePath)
12
function test (t) {
13
- fs.readFile(filePath, {encoding: 'utf8'}, function (err, data) {
+ fs.readFile(filePath, { encoding: 'utf8' }, function (err, data) {
14
t.error(err, 'read ' + basename + ' file without error ')
15
16
var formatted
@@ -27,7 +27,7 @@ function testFile (filePath, depth) {
27
t.equal(result.warningCount, 0, basename + ' warning free after formatting')
28
if (result.errorCount || result.warningCount !== 0) {
29
// If there is an issue, print the details
30
- console.log(inspect(result, {depth: depth || null}))
+ console.log(inspect(result, { depth: depth || null }))
31
}
32
t.end()
33
})
0 commit comments