Skip to content

Commit 36ef935

Browse files
committed
Remove methods deprecated and turned off February 2021.
1 parent c08c95f commit 36ef935

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tasks/web.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ namespace :slack do
3232
parsed = JSON.parse(File.read(path))
3333
parsed['undocumented'] = true if path =~ /undocumented/
3434
JSON::Validator.validate(method_schema, parsed, insert_defaults: true)
35+
next if parsed['deprecated'] && parsed['deprecation']['deprecation_warning'] =~ /It will stop functioning in February 2021/
3536
result[prefix][name] = parsed
3637
end
3738

0 commit comments

Comments
 (0)