checker: check option fn returning error (fix #17423) (#17438)

This commit is contained in:
yuyi 2023-03-02 21:49:50 +08:00 committed by GitHub
parent 8f7c35552d
commit 17000ef7b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 129 additions and 106 deletions

View file

@ -721,7 +721,7 @@ pub fn get_test_details(file string) TestDetails {
return res
}
pub fn find_started_process(pname string) ?string {
pub fn find_started_process(pname string) !string {
for line in testing.all_processes {
if line.contains(pname) {
return line