Skip to content

Commit

Permalink
Fix compilation error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEady committed Aug 31, 2023
1 parent 5aa809f commit cff3917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pol-core/pol/dap/clientthread.cpp
Expand Up @@ -111,7 +111,7 @@ dap::ResponseOrError<dap::LaunchResponse> DebugClientThread::handle_launch(
if ( script_path.extension() == ".src" )
script_path.replace_extension( ".ecl" );

if ( !sd.config_nodie( script_path, nullptr, "" ) )
if ( !sd.config_nodie( script_path.string(), nullptr, "" ) )
return dap::Error( "Error in script name." );
if ( !sd.exists() )
return dap::Error( "Script " + sd.name() + " does not exist." );
Expand Down

0 comments on commit cff3917

Please sign in to comment.