Revert "Makes check (#332)" (#334)

This reverts commit dce3848163.
This commit is contained in:
James Ives 2020-06-16 06:16:48 -04:00 committed by GitHub
parent dce3848163
commit 3c226bcd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,16 +19,11 @@ export async function init(action: ActionInterface): Promise<void | Error> {
await execute(`git init`, action.workspace)
await execute(`git config user.name "${action.name}"`, action.workspace)
await execute(`git config user.email "${action.email}"`, action.workspace)
try {
await execute(`git remote rm origin`, action.workspace)
} finally {
await execute(
`git remote add origin ${action.repositoryPath}`,
action.workspace
)
}
await execute(`git remote rm origin`, action.workspace)
await execute(
`git remote add origin ${action.repositoryPath}`,
action.workspace
)
await execute(`git fetch --no-recurse-submodules`, action.workspace)
info('Git configured… 🔧')