diff options
| author | ishaan <contact@ishaan.cc> | 2026-08-03 11:15:02 +0530 |
|---|---|---|
| committer | ishaan <contact@ishaan.cc> | 2026-08-03 11:15:02 +0530 |
| commit | 5375294e0bed1fa01cb5f4ff73f2c093b74cd8e2 (patch) | |
| tree | 9049f67a82a40cce28c052a1f9e0de50bbc0e508 /internal/utils | |
| parent | b65769aadfc79d22672d4bd512443f0dda8cf6ad (diff) | |
fix new --edit fallthrough, cleanup error handling
Diffstat (limited to 'internal/utils')
| -rw-r--r-- | internal/utils/cli.go | 2 | ||||
| -rw-r--r-- | internal/utils/utils_test.go | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/internal/utils/cli.go b/internal/utils/cli.go index ba7a07c..71d5163 100644 --- a/internal/utils/cli.go +++ b/internal/utils/cli.go @@ -39,5 +39,5 @@ func AskUserYesNo(prompt string, defaultVal bool) (bool, error) { } func ClearTerm() { - fmt.Print("\033[H\033[2J") + fmt.Print("\033[H\033[2J") } diff --git a/internal/utils/utils_test.go b/internal/utils/utils_test.go index 34631df..ccc8338 100644 --- a/internal/utils/utils_test.go +++ b/internal/utils/utils_test.go @@ -248,5 +248,3 @@ func TestGetPubKeyFromService_404(t *testing.T) { assert.Error(t, err) assert.Contains(t, err.Error(), "returned status 404") } - - |