Not Required

This commit is contained in:
JamesIves 2020-03-28 12:38:18 -04:00
parent ff7201a4d8
commit 0372f909eb
2 changed files with 6 additions and 11 deletions

View File

@ -18,16 +18,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`, action.workspace)
info('Git configured… 🔧')

View File

@ -557,7 +557,7 @@
"@types/istanbul-lib-coverage" "*"
"@types/istanbul-lib-report" "*"
"@types/jest@25.2.3":
"@types/jest@25.1.4":
version "25.1.4"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-25.1.4.tgz#9e9f1e59dda86d3fd56afce71d1ea1b331f6f760"
dependencies: