mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Everywhere: Convert a handful of String::format() => formatted()
This commit is contained in:
parent
c90b7881a7
commit
c71807a3fc
23 changed files with 24 additions and 24 deletions
|
@ -57,7 +57,7 @@ int main(int argc, char** argv)
|
|||
|
||||
for (String filename : filenames) {
|
||||
if (!filename.ends_with(".gz"))
|
||||
filename = String::format("%s.gz", filename.characters());
|
||||
filename = String::formatted("{}.gz", filename);
|
||||
|
||||
const auto input_filename = filename;
|
||||
const auto output_filename = filename.substring_view(0, filename.length() - 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue