Skip to content

Commit 34aca28

Browse files
Moved --no-pager exec option to CI only config
1 parent 0550b02 commit 34aca28

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

railties/lib/rails/generators/rails/app/templates/bin/brakeman.tt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ require "rubygems"
22
require "bundler/setup"
33

44
ARGV.unshift("--ensure-latest")
5-
ARGV.unshift("--no-pager")
65

76
load Gem.bin_path("brakeman", "brakeman")

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
bundler-cache: true
2222

2323
- name: Scan for security vulnerabilities in Ruby dependencies
24-
run: bin/brakeman
24+
run: bin/brakeman --no-pager
2525
<% end -%>
2626
<%- if options[:javascript] == "importmap" -%>
2727

0 commit comments

Comments
 (0)