diff options
Diffstat (limited to 'danger/plugins/todos.rb')
-rw-r--r-- | danger/plugins/todos.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/danger/plugins/todos.rb b/danger/plugins/todos.rb new file mode 100644 index 00000000000..b31f147f2af --- /dev/null +++ b/danger/plugins/todos.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require_relative '../../tooling/danger/outdated_todo' + +module Danger + class Todos < ::Danger::Plugin + def check_outdated_todos(filenames) + Tooling::Danger::OutdatedTodo.new(filenames, context: self).check + end + end +end |