Skip to content

Commit

Permalink
Add binding.irb as a target for debugging code check (fastlane#21635)
Browse files Browse the repository at this point in the history
  • Loading branch information
mataku authored and SubhrajyotiSen committed Jan 17, 2024
1 parent 0f6ee8f commit 0ff7319
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 0ff7319

Please sign in to comment.