mirror of
https://github.com/actions/labeler.git
synced 2025-12-18 08:06:47 +00:00
build
This commit is contained in:
2
node_modules/kind-of/index.js
generated
vendored
2
node_modules/kind-of/index.js
generated
vendored
@@ -66,7 +66,7 @@ module.exports = function kindOf(val) {
|
||||
};
|
||||
|
||||
function ctorName(val) {
|
||||
return val.constructor ? val.constructor.name : null;
|
||||
return typeof val.constructor === 'function' ? val.constructor.name : null;
|
||||
}
|
||||
|
||||
function isArray(val) {
|
||||
|
||||
Reference in New Issue
Block a user