Skip to content

Remove ShellError::FlagNotFound#11119

Merged
WindSoilder merged 1 commit intonushell:mainfrom
drbrain:remove-shellerror-flag-not-found
Nov 21, 2023
Merged

Remove ShellError::FlagNotFound#11119
WindSoilder merged 1 commit intonushell:mainfrom
drbrain:remove-shellerror-flag-not-found

Conversation

@drbrain
Copy link
Copy Markdown
Contributor

@drbrain drbrain commented Nov 21, 2023

Description

ShellError::FlagNotFound had a note that said it may be removable so this PR removes it instead of updating it to named fields per #10700

I can't see this error being used since it was introduced with #4364. I can't find why or where it was used before that date, though. There was a large merge with that PR but I can't penetrate the secrets of git to find out where its earlier history went.

User-Facing Changes

None

Tests + Formatting

  • 🟢 toolkit fmt
  • 🟢 toolkit clippy
  • 🟢 toolkit test
  • 🟢 toolkit test stdlib

After Submitting

N/A

I can't see this error being used since it was introduced with nushell#4364.  I
can't find why or where it was used before that date, though.
Copy link
Copy Markdown
Contributor

@WindSoilder WindSoilder left a comment

Choose a reason for hiding this comment

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

Thanks! I'm agree with you, let's remove it

@WindSoilder WindSoilder merged commit 1b54dd5 into nushell:main Nov 21, 2023
hardfau1t pushed a commit to hardfau1t/nushell that referenced this pull request Dec 14, 2023
# Description

`ShellError::FlagNotFound` had a note that said it may be removable so
this PR removes it instead of updating it to named fields per nushell#10700

I can't see this error being used since it was introduced with nushell#4364. I
can't find why or where it was used before that date, though. There was
a large merge with that PR but I can't penetrate the secrets of git to
find out where its earlier history went.

# User-Facing Changes

None

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

N/A
dmatos2012 pushed a commit to dmatos2012/nushell that referenced this pull request Feb 20, 2024
# Description

`ShellError::FlagNotFound` had a note that said it may be removable so
this PR removes it instead of updating it to named fields per nushell#10700

I can't see this error being used since it was introduced with nushell#4364. I
can't find why or where it was used before that date, though. There was
a large merge with that PR but I can't penetrate the secrets of git to
find out where its earlier history went.

# User-Facing Changes

None

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

N/A
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