mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 14:55:09 +00:00
HackStudio: Use new format functions.
This commit is contained in:
parent
3b601cd4bd
commit
7c4fb2b804
23 changed files with 112 additions and 117 deletions
|
@ -132,7 +132,7 @@ bool GitRepo::commit(const String& message)
|
|||
|
||||
Optional<String> GitRepo::original_file_content(const LexicalPath& file) const
|
||||
{
|
||||
return command({ "show", String::format("HEAD:%s", file.string().characters()) });
|
||||
return command({ "show", String::formatted("HEAD:{}", file) });
|
||||
}
|
||||
|
||||
Optional<String> GitRepo::unstaged_diff(const LexicalPath& file) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue