Welcome to mirror list, hosted at ThFree Co, Russian Federation.

todos.rb « plugins « danger - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b31f147f2af28117cbe20617f37d2efa19a4d0a8 (plain)
1
2
3
4
5
6
7
8
9
10
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