12
Nerd93
6y

Another day!!

Comments
  • 1
    Mind sharing how you got the current branch in your WSL shell?
  • 1
    Looks like just gitbash
  • 1
    @nitwhiz yeah, is GitBash. I can send you a step-by-step instructions on how to install it if you'd like.
  • 2
    @Nerd93 just thought about it. I know about gitbash already, but thanks anyway.(:
  • 4
    And on line63 ish you check for firstChar multiple times, this could be done easier by doing:
    if (["a","b","c"].includes(firstChar)) {}

    It's also faster 😉
  • 1
Add Comment