diff --git a/lib/resolver.js b/lib/resolver.js
index <HASH>..<HASH> 100644
--- a/lib/resolver.js
+++ b/lib/resolver.js
@@ -83,7 +83,7 @@ resolver.findGeneratorsIn = function (searchPaths, pattern = 'generator-*') {
     // restricted folders.
     try {
       modules = modules.concat(globby.sync(
-        [pattern],
+        pattern,
         {cwd: root, onlyFiles: false, absolute: true, deep: 0}
       ));
 
@@ -97,7 +97,7 @@ resolver.findGeneratorsIn = function (searchPaths, pattern = 'generator-*') {
 
       for (const namespace of namespaces) {
         modules = modules.concat(globby.sync(
-          [pattern],
+          pattern,
           {cwd: namespace, onlyFiles: false, absolute: true, deep: 0}
         ));
       }
Allow arrays to be passed as pattern to findGeneratorsIn (#<I>)