mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
HackStudio: Always use relative paths when opening project files
This commit is contained in:
parent
7ecb21afa7
commit
c4139be461
2 changed files with 6 additions and 2 deletions
|
@ -431,7 +431,6 @@ void Editor::set_document(GUI::TextDocument& doc)
|
|||
|
||||
if (m_language_client) {
|
||||
set_autocomplete_provider(make<LanguageServerAidedAutocompleteProvider>(*m_language_client));
|
||||
dbgln("Opening {}", code_document.file_path());
|
||||
int fd = open(code_document.file_path().characters(), O_RDONLY | O_NOCTTY);
|
||||
if (fd < 0) {
|
||||
perror("open");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue