Skip to content

Commit

Permalink
docs: add latest version comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Jul 26, 2021
1 parent 4c4096b commit 16d9d01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/lib/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ function handleTerminalMessages() {
})
ipcMain.handle('get-git-branch', async (event, directory: string) => {
const command = process.platform === 'win32'
// TODO: os.devNull
? 'git rev-parse --abbrev-ref HEAD 2> NUL'
: 'git branch 2> /dev/null | grep \\* | cut -d " " -f2'
try {
Expand Down

0 comments on commit 16d9d01

Please sign in to comment.