Tags: nushell/nushell
Tags
Fix use constants in bare-word-strings with source error (#17094) Fixes #17091 This PR simply adds the same bare-word interpolation check to parse_filepath and parse_directory, making them consistent with parse_string. This way, users can continue using patterns like: ```nu source config/($nu.os-info.name).nu ``` which worked in 0.108 and is quite useful for cross-platform scripts. <!-- Thank you for improving Nushell! Please, read our contributing guide: https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md --> ## Release notes summary - What our users need to know <!-- This section will be included as part of our release notes. See the contributing guide for more details. Please include only details relevant for users here. Motivation and technical details can be added above or below this section. You may leave this section blank until your PR is finalized. Ask a core team member if you need help filling this section. --> ## Tasks after submitting <!-- Remove any tasks which aren't relevant for your PR, or add your own --> - [ ] Update the [documentation](https://github.com/nushell/nushell.github.io)
PreviousNext