mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +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
|
@ -76,7 +76,7 @@ int main(int argc, char** argv)
|
|||
const char* new_path = original_new_path;
|
||||
if (rc == 0 && S_ISDIR(st.st_mode)) {
|
||||
auto old_basename = LexicalPath(old_path).basename();
|
||||
combined_new_path = String::format("%s/%s", original_new_path, old_basename.characters());
|
||||
combined_new_path = String::formatted("{}/{}", original_new_path, old_basename);
|
||||
new_path = combined_new_path.characters();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue