Skip to content

Commit

Permalink
Adjust Dangerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dogo committed Sep 22, 2024
1 parent 6a50c78 commit 30231e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ warn("PR is classed as Work in Progress") if github.pr_title.include?("WIP")
warn("Big PR - #{git.lines_of_code} lines of code") if git.lines_of_code > 150

# Ensure testing shortcuts (fdescribe, fit) aren't accidentally merged into master
fail("fdescribe found in tests") if `grep -r fdescribe specs/ `.length > 1
fail("fit found in tests") if `grep -r fit specs/ `.length > 1
fail("fdescribe found in tests") if `grep -r fdescribe Tests/ `.length > 1
fail("fit found in tests") if `grep -r fit Tests/ `.length > 1

# Define a method to handle directory linting
def lint_directory(directory, config_file)
Expand Down

0 comments on commit 30231e4

Please sign in to comment.