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

Add deprecation warning to describe --collect-lazyrecords #12667

Merged
merged 1 commit into from Apr 26, 2024

Conversation

IanManske
Copy link
Member

Description

Missed a spot for lazy record deprecation. This adds a warning for the --collect-lazyrecords flag on describe.

Comment on lines +50 to +51
nu_protocol::report_error_new(
engine_state,
Copy link
Member Author

@IanManske IanManske Apr 25, 2024

Choose a reason for hiding this comment

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

I didn't add the warning for run_const, since report_error_new needs an engine state. lazy make is not const, so this hopefully won't be a problem.

@fdncred fdncred added the pr:commands This PR changes our commands in some way label Apr 26, 2024
@IanManske IanManske merged commit 533603b into nushell:main Apr 26, 2024
15 checks passed
@hustcer hustcer added this to the v0.93.0 milestone Apr 27, 2024
maxim-uvarov pushed a commit to maxim-uvarov/nushell that referenced this pull request May 1, 2024
…12667)

# Description
Missed a spot for lazy record deprecation. This adds a warning for the
`--collect-lazyrecords` flag on `describe`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:commands This PR changes our commands in some way
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants