We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30df5c3 commit d8dfc40Copy full SHA for d8dfc40
test/lint/commit-script-check.sh
@@ -17,7 +17,7 @@ if test -z "$1"; then
17
exit 1
18
fi
19
20
-if ! sed --help | grep -q 'GNU'; then
+if ! sed --help 2>&1 | grep -q 'GNU'; then
21
echo "Error: the installed sed package is not compatible. Please make sure you have GNU sed installed in your system.";
22
exit 1;
23
0 commit comments