Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow a Ruby 3.3 warning for Security/Open #12572

Merged

Commits on Dec 28, 2023

  1. Follow a Ruby 3.3 warning for Security/Open

    This PR follows the following Ruby 3.3 warning for `Security/Open`
    when `open` with a literal string starting with a pipe:
    
    ```console
    $ ruby -we "open('| ls')"
    ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-darwin22]
    -e:1: warning: Calling Kernel#open with a leading '|' is deprecated
    and will be removed in Ruby 4.0; use IO.popen instead
    ```
    koic committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    0187af3 View commit details
    Browse the repository at this point in the history