[go: up one dir, main page]

Skip to content

Follow-up from "rails integration branch for "Remote Development Integration Branches""

The following discussion from !105783 (merged) should be addressed:

  • @kassio started a discussion: (+3 comments)

    suggestion I think we can remove one indentation level here for better readability:

                if [restricted_prefix, restricted_prefix_underscore].any? { |prefix| variable.downcase.start_with?(prefix) }
                  error_str = format("Variable name '%s' starts with '%s'", variable, prefix)
                  raise ArgumentError, _(error_str)
                end