Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
related to - #122 ## description i was writing #122 and i noticed the imports of `git prompt` where completely messed up 👀 ## reproduce from the branch of #122, run `tk test prompt` - before that change, i.e. on 1b36d96 ``` Testing package /home/amtoine/documents/repos/github.com/amtoine/nu-git-manager tests sugar git prompt build-left-prompt ... FAILURE tests sugar git prompt repo-current-action ... FAILURE tests sugar git prompt repo-revision ... SUCCESS Test "tests sugar git prompt build-left-prompt" failed with exit code 1: Error: × todo Test "tests sugar git prompt repo-current-action" failed with exit code 1: Switched to a new branch 'main' Switched to a new branch 'some' Switched to a new branch 'other' Error: nu::shell::external_command × External command failed ╭─[/home/amtoine/documents/repos/github.com/amtoine/nu-git-manager/src/nu-git-manager-sugar/git/lib/lib.nu:96:1] 96 │ } else if (test-file "MERGE_HEAD") { 97 │ "MERGING" | color dark_gray · ──┬── · ╰── did you mean 'nu-highlight'? 98 │ } else if (test-file "CHERRY_PICK_HEAD") { ╰──── help: No such file or directory (os error 2) Ran 3 tests. 1 succeeded, 2 failed. Error: × some tests failed ``` - after that change, e.g. by merging the two branches together ``` Testing package /home/amtoine/documents/repos/github.com/amtoine/nu-git-manager tests sugar git prompt build-left-prompt ... FAILURE tests sugar git prompt repo-current-action ... SUCCESS tests sugar git prompt repo-revision ... SUCCESS Test "tests sugar git prompt build-left-prompt" failed with exit code 1: Error: × todo Ran 3 tests. 2 succeeded, 1 failed. Error: × some tests failed ```
- Loading branch information