j433866 6 роки тому
батько
коміт
c8eab5d218
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      src/core/lib/Magic.mjs

+ 2 - 0
src/core/lib/Magic.mjs

@@ -276,6 +276,8 @@ class Magic {
         let results = [];
 
         // Record the properties of the current data
+        // Only if there either wasn't a filter provided,
+        // or the filter matches in the data
         if (filter == null || new RegExp(filter).test(this.inputStr)){
             results.push({
                 recipe: recipeConfig,