LibCore+LibJS+LibWasm: Always use a real format string

It's generally considered a security issue to use non-format string
literals. We would likely just crash in practice, but let's avoid the
issue altogether.
This commit is contained in:
Timothy Flynn 2025-04-08 13:23:56 -04:00 committed by Tim Flynn
commit 64d290447c
Notes: github-actions[bot] 2025-04-09 00:01:33 +00:00
3 changed files with 11 additions and 11 deletions

View file

@ -384,7 +384,7 @@ void ArgsParser::print_version(FILE* file)
{
// FIXME: Allow applications to override version string for --version.
// Especially useful for Lagom applications
outln(file, Core::Version::read_long_version_string());
outln(file, "{}", Core::Version::read_long_version_string());
}
void ArgsParser::add_option(Option&& option)