Skip to content

Commit 7eb191b

Browse files
committed
Update git.ts
1 parent 273c87e commit 7eb191b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/git.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ export async function init(action: ActionInterface): Promise<void | Error> {
2121
info(`Deploying using ${action.tokenType}… 🔑`)
2222
info('Configuring git…')
2323

24-
// try {
25-
// await execute(
26-
// `git config --global --add safe.directory "${action.workspace}"`,
27-
// action.workspace,
28-
// action.silent
29-
// )
30-
// } catch {
31-
// info('Unable to set workspace as a safe directory…')
32-
// }
24+
try {
25+
await execute(
26+
`git config --global --add safe.directory "${action.workspace}"`,
27+
action.workspace,
28+
action.silent
29+
)
30+
} catch {
31+
info('Unable to set workspace as a safe directory…')
32+
}
3333

3434
await execute(
3535
`git config user.name "${action.name}"`,

0 commit comments

Comments
 (0)