Skip to content

nu -c "# '" fails #5175

@ajeetdsouza

Description

@ajeetdsouza

Describe the bug

nu -c "# '" gives an error of expected closing '. However, the opening ' is commented out, so this error should not be occurring.

How to reproduce

In bash or nu, run nu -c "# '".

Expected behavior

Expected: no error.

Screenshots

No response

Configuration

key value
version 0.61.0
branch nushell
tag
build_os macos-aarch64
rust_version rustc 1.59.0
cargo_version cargo 1.59.0
pkg_version 0.61.0
build_time 2022-04-12 20:38:15 +00:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions