From 7c90aee994412a6bc7d1fa35dba8e9c8a3ebef8b Mon Sep 17 00:00:00 2001 From: MAJigsaw77 <77043862+MAJigsaw77@users.noreply.github.com> Date: Thu, 29 Jan 2026 21:39:35 +0200 Subject: [PATCH] Fix paths on `Windows Subsystem for Linux`. --- project.hxp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project.hxp b/project.hxp index 5034cee77..040423642 100644 --- a/project.hxp +++ b/project.hxp @@ -2191,7 +2191,7 @@ class Project extends HXProject { var path = getLibraryCurrentFile(libraryName); - if (sys.FileSystem.exists(path)) return sys.io.File.getContent(path); + if (sys.FileSystem.exists(path)) return sys.io.File.getContent(path).trim(); return ''; } @@ -2200,7 +2200,7 @@ class Project extends HXProject { var path = getLibraryDevFile(libraryName); - if (sys.FileSystem.exists(path)) return sys.io.File.getContent(path); + if (sys.FileSystem.exists(path)) return sys.io.File.getContent(path).trim(); return ''; }