Skip to content

Commit

Permalink
fix(java): added Java into context for GitignoreIsPresent
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzzaki committed Nov 7, 2019
1 parent 6fdd64d commit d777527
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import { PracticeContext } from '../../contexts/practice/PracticeContext';
export class GitignoreIsPresentPractice implements IPractice {
async isApplicable(ctx: PracticeContext): Promise<boolean> {
return (
ctx.projectComponent.language === ProgrammingLanguage.JavaScript || ctx.projectComponent.language === ProgrammingLanguage.TypeScript
ctx.projectComponent.language === ProgrammingLanguage.JavaScript ||
ctx.projectComponent.language === ProgrammingLanguage.TypeScript ||
ctx.projectComponent.language === ProgrammingLanguage.Java
);
}

Expand Down

0 comments on commit d777527

Please sign in to comment.