Sha256: f044be5f0d29c59722a2ec1e10641f89a72c9598a5c2c77f5de3ba91bdf9e322

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

namespace :brakeman do
  task :run, :output_files do |_, args|
    require 'brakeman'

    files = args[:output_files].split(' ') if args[:output_files]
    Brakeman.run app_path: '.', output_files: files, print_report: true
  end
end

task brakeman: ['brakeman:run']

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bestie-0.2.0 lib/tasks/brakeman.rake