Skip to content

Commit

Permalink
fix: remove configuration enabled check from AI button (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
diivi authored Jun 6, 2023
1 parent 78ee90e commit cedca79
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ export const getAiDescription = async (prUrl: string) => {
throw new Error("Configuration file is empty!");
}

if (!descriptionConfig.enabled) {
throw new Error("AI PR description is disabled!");
}

const [diff, commitMessages] = await getDescriptionContext(prApiUrl, descriptionConfig.config.source);

if (!diff && !commitMessages) {
Expand Down

0 comments on commit cedca79

Please sign in to comment.