libos: Add error handling to vector argument usage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
65d3195caa
commit
4d106b6b8c
@ -277,7 +277,7 @@ namespace os
|
||||
else { TRY(sb.format(" [%s]", arg.name.chars())); }
|
||||
}
|
||||
|
||||
if (m_vector_argument) sb.format("%s..."_sv, m_positional_args.size() ? "" : " ");
|
||||
if (m_vector_argument) TRY(sb.format("%s..."_sv, m_positional_args.size() ? "" : " "));
|
||||
|
||||
TRY(sb.add('\n'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user