Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove updated entry in brakeman.ignore #1860

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/brakeman/report/ignore/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def save_to_file warnings, file = @file

output = {
:ignored_warnings => warnings,
:updated => Time.now.to_s,
:brakeman_version => Brakeman::Version
}

Expand Down
1 change: 0 additions & 1 deletion test/apps/rails2/config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@
"note": ""
}
],
"updated": "2015-07-16 22:46:47 -0700",
"brakeman_version": "3.0.5"
}
1 change: 0 additions & 1 deletion test/apps/rails4/config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@
"note": "this error should be detected as obsolete"
}
],
"updated": "2013-12-20 22:14:42 +0200",
"brakeman_version": "2.3.1"
}
2 changes: 0 additions & 2 deletions test/tests/brakeman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ def test_dump_config_with_file
"note": "Here's a note!"
}
],
"updated": "2019-04-02 12:15:05 -0700",
"brakeman_version": "4.5.0"
}
JSON
Expand Down Expand Up @@ -516,7 +515,6 @@ def test_dump_config_with_file
"note": "Note here."
}
],
"updated": "2019-04-02 12:15:05 -0700",
"brakeman_version": "4.5.0"
}
JSON
Expand Down
2 changes: 0 additions & 2 deletions test/tests/commandline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ def test_ensure_ignore_notes
"note": "Here's a note!"
}
],
"updated": "2019-04-02 12:15:05 -0700",
"brakeman_version": "4.5.0"
}
JSON
Expand Down Expand Up @@ -240,7 +239,6 @@ def test_ensure_ignore_notes
"note": "Note here."
}
],
"updated": "2019-04-02 12:15:05 -0700",
"brakeman_version": "4.5.0"
}
JSON
Expand Down
1 change: 0 additions & 1 deletion test/tests/ignore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ def assert_relative path
"note": "Here's a note!"
}
],
"updated": "2019-04-02 12:15:05 -0700",
"brakeman_version": "4.5.0"
}
JSON