Skip to content

Conversation

@MichalZaporski
Copy link

This change fixes a warning in Ruby 3.4:
warning: literal string will be frozen in the future

# string, ready to execute.
def scp_command(mode, options)
command = "scp "
command = String.new("scp ")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command = String.new("scp ")
command = +"scp "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants