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

fix: remove shell code copy trailing newline #1561

Merged
merged 1 commit into from Oct 31, 2022
Merged

fix: remove shell code copy trailing newline #1561

merged 1 commit into from Oct 31, 2022

Conversation

Zhengqbbb
Copy link
Contributor

@Zhengqbbb Zhengqbbb commented Oct 31, 2022

link #1559

Shell code copy should be remove trailing newline.
In SHELL env (like bash) or some termianl apps, there is a trailing newline in our copy, the command will to be executed directly after paste, which is dangerous.

@brc-dd brc-dd merged commit f36cd0d into vuejs:main Oct 31, 2022
@Zhengqbbb Zhengqbbb deleted the fix/code_copy branch October 31, 2022 05:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants