[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ShellCheck reports error in run_parser_all.sh (patch)

From: Vitezslav Crhonek
Subject: ShellCheck reports error in run_parser_all.sh (patch)
Date: Tue, 16 Feb 2021 10:30:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0


ShellCheck reports error [1] in tp/tests/run_parser_all.sh script.
'continue' is used there to exit a function.

I don't consider it to be a big deal but it would be nice to have it
fixed at least for the sake of clean code. Simple patch attached.

The issue has been originally reported by yeah_wang at [2].

Best regards

[1] https://github.com/koalaman/shellcheck/wiki/SC2104
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1921666

Vitezslav Crhonek
Software Engineer
Red Hat

Attachment: fix-shellcheck-error-sc2104.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]