Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 78014a2

Browse files
Axel Kittenbergerjsumners
authored andcommitted
transcontextual safe type checks
1 parent e2c0949 commit 78014a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function mergeFunctionArgs (argv, start, end) {
5050
if (Array.isArray(argv[i])) {
5151
const arr = argv[i]
5252
for (let j = 0; j < arr.length; j++) {
53-
if ((typeof arr[j] !== 'function')) {
53+
if (typeof arr[j] !== 'function') {
5454
throw new TypeError('Invalid argument type: ' + typeof (arr[j]))
5555
}
5656
handlers.push(arr[j])

0 commit comments

Comments
 (0)