From 82e892a2606c7e8b0d4a47e1c9eea720cf6582cc Mon Sep 17 00:00:00 2001 From: xtx1130 Date: Wed, 12 Jul 2017 11:31:08 +0800 Subject: [PATCH] change == to === --- deps/isAsyncFunc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/isAsyncFunc.js b/deps/isAsyncFunc.js index 34c3a8f..ca22e82 100644 --- a/deps/isAsyncFunc.js +++ b/deps/isAsyncFunc.js @@ -5,5 +5,5 @@ */ 'use strict'; exports = module.exports = func => { - return func.constructor.name == 'AsyncFunction'; + return func.constructor.name === 'AsyncFunction'; } \ No newline at end of file