Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericbeaumet committed Aug 19, 2019
1 parent 975e875 commit 51504ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module.exports = (options = {}) => {
'`options.output` is mandatory and has to be a non-empty string'
)
}

const output = metalsmithifyPath(options.output)

const patterns = (Array.isArray(options.files)
Expand Down
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ test.cb(
}
)

// serial because of mocking
// Serial because of mocking
test.serial.cb('metalsmith-concat should forward glob errors', t => {
t.plan(2)
sinon.replace(require('glob'), 'glob', (_pattern, _options, callback) =>
Expand All @@ -517,7 +517,7 @@ test.serial.cb('metalsmith-concat should forward glob errors', t => {
})
})

// serial because of mocking
// Serial because of mocking
test.serial.cb('metalsmith-concat should forward fs.readFile errors', t => {
t.plan(2)
sinon.replace(require('fs'), 'readFile', (_filepath, callback) =>
Expand Down

0 comments on commit 51504ec

Please sign in to comment.