Skip to content

Commit 159dab9

Browse files
committed
clean
1 parent 340ee02 commit 159dab9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lint.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ echo "=========================="
1818

1919
# Function to run MATLAB linting
2020
run_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
4139
if 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
4745
else
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}"

0 commit comments

Comments
 (0)