diff --git a/lib/utils/util.js b/lib/utils/util.js index 846d2eb..aea1bf0 100644 --- a/lib/utils/util.js +++ b/lib/utils/util.js @@ -175,6 +175,10 @@ const Util = { str = `${str}`; pattern = `${pattern}`; + if (pattern === '*') { + return true; + } + // includes first if (str.includes(pattern)) { return true;