File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ echo "=========================="
1818
1919# Function to run MATLAB linting
2020run_matlab_lint () {
21- echo -e " ${YELLOW} Running MATLAB Code Analyzer...${NC} "
22-
2321 # Run the same lint function as CI
2422 if matlab -batch " addpath('.github/scripts'); lint" -nodesktop -nosplash -nojvm; then
2523 echo -e " ${GREEN} [SUCCESS] MATLAB Code Analyzer passed!${NC} "
@@ -35,19 +33,19 @@ run_matlab_lint() {
3533}
3634
3735# Main execution
38- echo -e " ${YELLOW} Running MATLAB Code Analyzer (same as CI lint job )...${NC} "
36+ echo -e " ${YELLOW} Running MATLAB Code Analyzer (same as CI linter )...${NC} "
3937
4038# Run MATLAB linting
4139if run_matlab_lint; then
4240 echo " "
4341 echo " =========================="
44- echo -e " ${GREEN} [SUCCESS] MATLAB Code Analyzer passed! ✓ ${NC} "
42+ echo -e " ${GREEN} [SUCCESS] MATLAB Code Analyzer passed!${NC} "
4543 echo -e " ${GREEN} Your code will pass the CI lint job.${NC} "
4644 exit 0
4745else
4846 echo " "
4947 echo " =========================="
50- echo -e " ${RED} [FAILED] MATLAB Code Analyzer found issues! ✗ ${NC} "
48+ echo -e " ${RED} [FAILED] MATLAB Code Analyzer found issues!${NC} "
5149 echo -e " ${YELLOW} Please fix the issues above before committing.${NC} "
5250 echo " "
5351 echo -e " ${BLUE} Additional checks:${NC} "
You can’t perform that action at this time.
0 commit comments