summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/DevTools/HackStudio/LanguageClient.cpp2
-rw-r--r--Userland/DevTools/HackStudio/LanguageClient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClient.cpp b/Userland/DevTools/HackStudio/LanguageClient.cpp
index fecd848cb8..5d0328534d 100644
--- a/Userland/DevTools/HackStudio/LanguageClient.cpp
+++ b/Userland/DevTools/HackStudio/LanguageClient.cpp
@@ -121,7 +121,7 @@ void LanguageClient::set_active_client()
void LanguageClient::on_server_crash()
{
VERIFY(m_server_connection);
- auto project_path = m_server_connection->projcet_path();
+ auto project_path = m_server_connection->project_path();
ServerConnection::remove_instance_for_project(project_path);
m_server_connection = nullptr;
diff --git a/Userland/DevTools/HackStudio/LanguageClient.h b/Userland/DevTools/HackStudio/LanguageClient.h
index 938453b1f5..f7bedc2c55 100644
--- a/Userland/DevTools/HackStudio/LanguageClient.h
+++ b/Userland/DevTools/HackStudio/LanguageClient.h
@@ -67,7 +67,7 @@ public:
}
WeakPtr<LanguageClient> language_client() { return m_language_client; }
- const String& projcet_path() const { return m_project_path; }
+ const String& project_path() const { return m_project_path; }
template<typename ConcreteType>
static NonnullRefPtr<ServerConnection> get_or_create(const String& project_path)