Skip to content

Commit

Permalink
Added correct command to install checks
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoOfTwelve committed Aug 5, 2024
1 parent ad2e8d0 commit 1332645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitHooks/scripts/javaPreCommit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if ! command -v <the_command> &> /dev/null #checks if maven is installed
if ! command -v mvn &> /dev/null #checks if maven is installed
then
echo "Maven is not installed. Spotless will not be checked"
exit 0
Expand Down
2 changes: 1 addition & 1 deletion gitHooks/scripts/reportViewerPreCommit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if ! command -v <the_command> &> /dev/null #checks if npm is installed
if ! command -v npm &> /dev/null #checks if npm is installed
then
echo "Npm is not installed. Linter check will be skipped"
exit 0
Expand Down

0 comments on commit 1332645

Please sign in to comment.