Skip to content

Commit

Permalink
migrate getCurrentBranchName to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Feb 21, 2024
1 parent aba8c09 commit 67b39c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/utils/getCurrentBranchName.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {execSync} from 'child_process';

const getCurrentBranchName = () => {
const getCurrentBranchName = (): string => {
const stdout = execSync('git rev-parse --abbrev-ref HEAD', {
encoding: 'utf8',
});
Expand Down

0 comments on commit 67b39c1

Please sign in to comment.