Skip to content

Commit

Permalink
fix: wrong bool
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Oct 11, 2023
1 parent 5a723f2 commit f1a9a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/gitea/gitea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export async function upsertRepo(
return undefined
}
export async function addHook(repoApi: RepositoryApi, hasTektonHook: boolean): Promise<void> {
if (hasTektonHook)
if (!hasTektonHook)
await doApiCall(
errors,
`Adding hook "tekton" to repo otomi/values`,
Expand Down

0 comments on commit f1a9a77

Please sign in to comment.