diff --git a/Userland/DevTools/HackStudio/ProjectTemplate.cpp b/Userland/DevTools/HackStudio/ProjectTemplate.cpp index 9f9b0892bd..9ba02a85f4 100644 --- a/Userland/DevTools/HackStudio/ProjectTemplate.cpp +++ b/Userland/DevTools/HackStudio/ProjectTemplate.cpp @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include @@ -73,7 +72,7 @@ Result ProjectTemplate::create_project(DeprecatedString // Verify that the template content directory exists. If it does, copy it's contents. // Otherwise, create an empty directory at the project path. if (FileSystem::is_directory(content_path())) { - auto result = Core::DeprecatedFile::copy_file_or_directory(path, content_path()); + auto result = FileSystem::copy_file_or_directory(path, content_path()); dbgln("Copying {} -> {}", content_path(), path); if (result.is_error()) return DeprecatedString::formatted("Failed to copy template contents. Error code: {}", static_cast(result.error()));