Skip to content

Commit f68a97b

Browse files
author
repo-visualizer
committed
add log for creating new branch
1 parent 91c3d3c commit f68a97b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17936,6 +17936,7 @@ var main = async () => {
1793617936
await (0, import_exec.exec)("git", ["checkout", branch]);
1793717937
} catch {
1793817938
doesBranchExist = false;
17939+
core.info(`Branch ${branch} does not yet exist, creating ${branch}.`);
1793917940
await (0, import_exec.exec)("git", ["checkout", "-b", branch]);
1794017941
}
1794117942
}

src/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const main = async () => {
4848
await exec('git', ['checkout', branch])
4949
} catch {
5050
doesBranchExist = false
51+
core.info(`Branch ${branch} does not yet exist, creating ${branch}.`)
5152
await exec('git', ['checkout', '-b', branch])
5253
}
5354
}

0 commit comments

Comments
 (0)