Skip to content

Commit

Permalink
Add binding.irb as a target for debugging code check (#21635)
Browse files Browse the repository at this point in the history
  • Loading branch information
mataku committed Dec 11, 2023
1 parent e0037b8 commit 76862ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Expand Up @@ -27,7 +27,7 @@ lane :lint_source do
# Verifying that no debug code is in the code base
#
exclude_dirs = ["\.bundle", "*/vendor/bundle"]
ensure_no_debug_code(text: "binding.pry", extension: ".rb", exclude: "playground.rb", exclude_dirs: exclude_dirs) # debugging code
ensure_no_debug_code(text: "binding\.(irb|pry)", extension: ".rb", exclude: "playground.rb", exclude_dirs: exclude_dirs) # debugging code
ensure_no_debug_code(text: "# TODO", extension: ".rb", exclude_dirs: exclude_dirs) # TODOs
ensure_no_debug_code(text: "now: ", extension: ".rb", exclude_dirs: exclude_dirs) # rspec focus
ensure_no_debug_code(text: "<<<<<<<", extension: ".rb", exclude_dirs: exclude_dirs) # Merge conflict
Expand Down

0 comments on commit 76862ca

Please sign in to comment.