mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
83720a9f30
# Description When saving to a file we currently try to check if the data source in the pipeline metadata is the same as the file we are saving to. If so, we create an error, since reading and writing to a file at the same time is currently not supported/handled gracefully. However, there are still a few instances where this error is not properly triggered, and so this PR attempts to reduce these cases. Inspired by #12599. # Tests + Formatting Added a few tests. # After Submitting Some commands still do not properly preserve metadata (e.g., `str trim`) and so prevent us from detecting this error. |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |