From 67b39c13e33910a5ca59c7796203dfa229a81792 Mon Sep 17 00:00:00 2001 From: Julian Kobrynski Date: Wed, 21 Feb 2024 13:20:00 +0100 Subject: [PATCH] migrate getCurrentBranchName to TypeScript --- tests/e2e/utils/getCurrentBranchName.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/utils/getCurrentBranchName.ts b/tests/e2e/utils/getCurrentBranchName.ts index 55df11010214..7ae958b08e13 100644 --- a/tests/e2e/utils/getCurrentBranchName.ts +++ b/tests/e2e/utils/getCurrentBranchName.ts @@ -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', });