diff --git a/.vscode/settings.json b/.vscode/settings.json index 2ccde59..651faf1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -54,6 +54,7 @@ "achievibit", "adpyke", "autoimport", + "awesomeresolves", "azuretools", "barrelsby", "codeandstuff", @@ -71,10 +72,13 @@ "fullname", "Gamification", "gitbeaker", + "icns", "johnpapa", "kibibit", "kohler", "luxon", + "meeseek", + "msedge", "nestjs", "Onboarded", "packagr", @@ -89,6 +93,7 @@ "thatkookooguy", "timestamptz", "typeorm", + "viewports", "vivaxy", "wayou" ], diff --git a/achievements/src/breaking-bad.achievement.ts b/achievements/src/breaking-bad.achievement.ts index 103675c..b2d207c 100644 --- a/achievements/src/breaking-bad.achievement.ts +++ b/achievements/src/breaking-bad.achievement.ts @@ -5,7 +5,7 @@ import { IAchievement, IUserAchievement } from './achievement.abstract'; export const breakingBad: IAchievement = { name: 'Breaking Bad', check: function(pullRequest, shall) { - if (atLeast80PrecentCommitsFailedBuild(pullRequest)) { + if (atLeast80PercentCommitsFailedBuild(pullRequest)) { const achievement: IUserAchievement = { avatar: 'images/achievements/breakingBad.achievement.jpg', name: 'Breaking Bad', @@ -24,7 +24,7 @@ export const breakingBad: IAchievement = { } }; -function atLeast80PrecentCommitsFailedBuild(pullRequest) { +function atLeast80PercentCommitsFailedBuild(pullRequest) { let failedCommits = 0; const totalCommits = pullRequest.commits.length; forEach(pullRequest.commits, function(commit) {