Skip to content

Commit

Permalink
fix: Remove assumption on lint job including -report suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
edahlseng committed Mar 23, 2020
1 parent b227287 commit f0a21ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -614,12 +614,12 @@ jobs:
name: Linting << parameters.language >>
command: |
if which make > /dev/null && [[ -e Makefile ]]; then
make lint-report<<# parameters.language >>-<</ parameters.language >><< parameters.language >>
make lint<<# parameters.language >>-<</ parameters.language >><< parameters.language >>
exit 0
fi
if which npm > /dev/null && [[ -e package.json ]]; then
npm run lint-report<<# parameters.language >>-<</ parameters.language >><< parameters.language >>
npm run lint<<# parameters.language >>-<</ parameters.language >><< parameters.language >>
exit 0
fi
Expand Down

0 comments on commit f0a21ad

Please sign in to comment.