Skip to content

Commit feaf2b9

Browse files
committed
Bump catering
1 parent a633efa commit feaf2b9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ const processor = require('remark')
1010
const path = require('path')
1111
const fs = require('fs')
1212

13+
const kPromise = Symbol('promise')
14+
1315
function hallmark (options, callback) {
14-
callback = fromCallback(callback)
16+
callback = fromCallback(callback, kPromise)
1517

1618
const fix = !!options.fix
1719
const cwd = path.resolve(options.cwd || '.')
@@ -116,7 +118,7 @@ function hallmark (options, callback) {
116118
})
117119
})
118120

119-
return callback.promise
121+
return callback[kPromise]
120122
}
121123

122124
exports.lint = function (options, callback) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"USAGE"
2020
],
2121
"dependencies": {
22-
"catering": "^2.0.0",
22+
"catering": "^2.1.0",
2323
"deglob": "^4.0.0",
2424
"find-file-up": "^2.0.1",
2525
"find-githost": "^1.0.0",

0 commit comments

Comments
 (0)