Skip to content

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

Merged
lucasfernog merged 3 commits into
devfrom
refactor/env-args-os
May 28, 2024
Merged

refactor(core)!: include all args in Env.args_os, closes #9430#9552
lucasfernog merged 3 commits into
devfrom
refactor/env-args-os

Conversation

@amrbashir
Copy link
Copy Markdown
Member

No description provided.

@amrbashir amrbashir requested a review from a team as a code owner April 23, 2024 02:59
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
Copy Markdown
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
@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.

2 participants