Skip to content

Commit

Permalink
Merge pull request #37010 from JKobrynski/migrateGetCurrentBranchName…
Browse files Browse the repository at this point in the history
…ToTypeScript

[No QA] [TS migration] Migrate 'getCurrentBranchName.js' test to TypeScript
  • Loading branch information
Gonals authored Feb 28, 2024
2 parents c18774f + 67b39c1 commit 9bf1a37
Showing 1 changed file with 1 addition and 1 deletion.
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 9bf1a37

Please sign in to comment.