-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brakeman:fix - search for Gemfile's before start analysis
If there was no `Gemfile` file in the current directory, Brakeman would generate an error stating that the project to be analyzed was not a Ruby on Rails project. This commit fix this issue by looking for a directory path that contains a `Gemfile` filename and them using this path as a work dir to execute Brakeman. Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
- Loading branch information
1 parent
d7f1161
commit 0adf5d5
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters