Skip to content

Commit

Permalink
Fix identation test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcib committed Apr 11, 2021
1 parent 00ccbf0 commit fdbb10f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ tape.test('invalid schema', function (t) {

function bundle (file, opts, callback) {
esbuild.build({
entryPoints: [path.join(__dirname, file)],
bundle: true,
plugins: [jsonschemaPlugin(opts)],
write: false
})
entryPoints: [path.join(__dirname, file)],
bundle: true,
plugins: [jsonschemaPlugin(opts)],
write: false
})
.then(function (result) {
callback(null, result.outputFiles[0].text)
}, function (errResult) {
callback(errResult.errors)
})
callback(null, result.outputFiles[0].text)
}, function (errResult) {
callback(errResult.errors)
})
}

0 comments on commit fdbb10f

Please sign in to comment.