Skip to content

Commit

Permalink
Bump catering
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Nov 14, 2021
1 parent a633efa commit feaf2b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ const processor = require('remark')
const path = require('path')
const fs = require('fs')

const kPromise = Symbol('promise')

function hallmark (options, callback) {
callback = fromCallback(callback)
callback = fromCallback(callback, kPromise)

const fix = !!options.fix
const cwd = path.resolve(options.cwd || '.')
Expand Down Expand Up @@ -116,7 +118,7 @@ function hallmark (options, callback) {
})
})

return callback.promise
return callback[kPromise]
}

exports.lint = function (options, callback) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"USAGE"
],
"dependencies": {
"catering": "^2.0.0",
"catering": "^2.1.0",
"deglob": "^4.0.0",
"find-file-up": "^2.0.1",
"find-githost": "^1.0.0",
Expand Down

0 comments on commit feaf2b9

Please sign in to comment.