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

Bug with saving #5

Open
u9g opened this issue Mar 21, 2023 · 1 comment
Open

Bug with saving #5

u9g opened this issue Mar 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@u9g
Copy link

u9g commented Mar 21, 2023

Hi, very weird bug here. Saving the output with nufmt ./a.nu | save -f a.nu results in an empty file, but nufmt ./a.nu | lines | str join "\n" | save -f ./a.nu works fine for some reason.

@fdncred
Copy link
Collaborator

fdncred commented Mar 21, 2023

makes sense to me. this is how nushell handles raw streams of text. also, nufmt isn't anywhere near close to working, as you've probaby seen. we're looking for contributors to make it work right. feel free to jump in.

@amtoine amtoine added the bug Something isn't working label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants