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

Output for adding exercises is very noisy #12

Open
NicksPatties opened this issue Oct 3, 2024 · 0 comments
Open

Output for adding exercises is very noisy #12

NicksPatties opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NicksPatties
Copy link
Owner

Describe the bug
The output for adding code is very noisy. For instance...

sweet add cmd/root/sweet_test.go -s 29 -e 37
Ignoring line 1:        package root
Ignoring line 2:
Ignoring line 3:        import (
Ignoring line 4:                "fmt"
Ignoring line 5:                "math"
Ignoring line 6:                "os"
Ignoring line 7:                "path"
Ignoring line 8:                "testing"
Ignoring line 9:
Ignoring line 10:               "github.com/spf13/cobra"
Ignoring line 11:       )
Ignoring line 12:
# ...

To Reproduce
Steps to reproduce the behavior:

  1. sweet add {{a-large-file-of-your-choice}}
  2. See error

Expected behavior
A message telling me the file was saved would be nice, but not all this text.

Sweet version
v0.1.0

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 24.04 LTS
@NicksPatties NicksPatties added the bug Something isn't working label Oct 3, 2024
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

1 participant