Page MenuHomeFreeBSD

prepare-commit-msg: Avoid warning on macOS and shellcheck fixes
ClosedPublic

Authored by arichardson on Jan 7 2021, 9:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 27 2024, 7:52 PM
Unknown Object (File)
Dec 22 2023, 10:39 PM
Unknown Object (File)
Dec 21 2023, 8:06 PM
Unknown Object (File)
Sep 11 2023, 1:24 PM
Unknown Object (File)
Sep 6 2023, 1:17 PM
Unknown Object (File)
Sep 6 2023, 1:16 PM
Unknown Object (File)
Sep 6 2023, 1:13 PM
Unknown Object (File)
Sep 1 2023, 11:44 AM
Subscribers

Details

Summary

The macOS /bin/sh complains about using return outside of functions.
Replace return 0 with exit 0 to fix this. While editing this files
I've also fixed all the shellcheck warnings that were displayed by my IDE.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable