Skip to content

Commit

Permalink
style: update lint errors on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Jun 27, 2021
1 parent 6cb99a8 commit af35c36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/helper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable security/detect-object-injection */
import Ajv from 'ajv'
import grpc from '@grpc/grpc-js'
import loader from '@grpc/proto-loader'
Expand All @@ -23,7 +24,7 @@ export const ajv = formatter

export function promisifyAll(subscriber) {
const to = {}
for (var k in subscriber) {
for (const k in subscriber) {
if (typeof subscriber[k] != 'function') continue
to[k] = promisify(subscriber[k].bind(subscriber))
}
Expand Down

0 comments on commit af35c36

Please sign in to comment.