Skip to content

Commit

Permalink
Use different std::filesystem::path ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEady committed Jan 6, 2024
1 parent 8806034 commit 8117528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cpp/napi/LSPWorkspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Napi::Value LSPWorkspace::Open( const Napi::CallbackInfo& info )
.ThrowAsJavaScriptException();
}

_workspaceRoot = std::filesystem::path( info[0].As<Napi::String>().Utf8Value() );
_workspaceRoot = std::filesystem::u8path( info[0].As<Napi::String>().Utf8Value() );
std::string cfg( _workspaceRoot / "scripts" / "ecompile.cfg" );

try
Expand Down

0 comments on commit 8117528

Please sign in to comment.