mirror of
https://github.com/nushell/nushell.git
synced 2025-05-28 10:31:23 +00:00
The introduction of `use <file.nu>` added the possibility of calling `working_set.add_file()` more than once per parse pass. Some of the logic handling the file contents offsets prevented it from working and hopefully, this commit fixes it.