We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e1de5 commit e156b9dCopy full SHA for e156b9d
lib/octocatalog-diff/catalog-diff/filter.rb
@@ -1,6 +1,7 @@
1
require_relative '../api/v1/diff'
2
require_relative 'filter/absent_file'
3
require_relative 'filter/compilation_dir'
4
+require_relative 'filter/json'
5
require_relative 'filter/yaml'
6
7
require 'stringio'
@@ -12,7 +13,7 @@ class Filter
12
13
attr_accessor :logger
14
15
# List the available filters here (by class name) for use in the validator method.
- AVAILABLE_FILTERS = %w(AbsentFile CompilationDir YAML).freeze
16
+ AVAILABLE_FILTERS = %w(AbsentFile CompilationDir JSON YAML).freeze
17
18
# Public: Determine whether a particular filter exists. This can be used to validate
19
# a user-submitted filter.
0 commit comments