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

refactor(core)!: include all args in Env.args_os, closes #9430 #9552

Merged
merged 3 commits into from
May 28, 2024

Conversation

amrbashir
Copy link
Member

No description provided.

@amrbashir amrbashir requested a review from a team as a code owner April 23, 2024 02:59
@@ -295,7 +295,7 @@ pub struct Env {
#[allow(clippy::derivable_impls)]
impl Default for Env {
fn default() -> Self {
let args_os = std::env::args_os().skip(1).collect();
let args_os = std::env::args_os().collect();
Copy link
Member

Choose a reason for hiding this comment

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

this change impacts the restart command, it should skip the first arg in there (we should also check if this doesn't impact the plugins)

@lucasfernog lucasfernog merged commit e8f6eb5 into dev May 28, 2024
26 checks passed
@lucasfernog lucasfernog deleted the refactor/env-args-os branch May 28, 2024 16:49
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.

None yet

2 participants