You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178,SC2010,SC1004,SC1091,SC1117; fi
17
-
# The if statement is here to invert the exit code from grep.
18
-
# grep normally errors if no match is found but we want the opposite.
19
-
# We invert it so grep fails if a match is found.
21
+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
20
22
# Check for lines longer than 100 chars.
21
-
# There are 3 lines that must be longer than 100 chars.
22
-
- if (("$(grep '.\{101\}' neofetch | wc -l)" > 3)); then (exit 1); else (exit 0); fi
23
+
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi
0 commit comments