namespace :brakeman do

  desc "Run Brakeman"
  task :run, :output_files do |t, args|
    require 'brakeman'

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

namespace :brakeman do

  desc "Run Brakeman"
  task :run, :output_files do |t, args|
    require 'brakeman'

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

Handle case where no output files are passed in. Thanks Justin
Handle case where no output files are passed in. Thanks Justin
