HackStudio: Fix typo in one error message

A regression from 4784ad66b2. oops.
This commit is contained in:
Karol Kosek 2022-12-21 10:59:46 +01:00 committed by Sam Atkins
parent 2e710de2f4
commit ba60b01026
Notes: sideshowbarker 2024-07-17 18:46:57 +09:00

View file

@ -1738,7 +1738,7 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_open_project_configuration_a
return {};
if (Core::File::exists(parent_directory) && !Core::File::is_directory(parent_directory)) {
formatted_error_string_holder = DeprecatedString::formatted("Cannot create directory the '{}' directory because there is already a file with that name", parent_directory);
formatted_error_string_holder = DeprecatedString::formatted("Cannot create the '{}' directory because there is already a file with that name", parent_directory);
return Error::from_string_view(formatted_error_string_holder);
}