Skip to content

Commit

Permalink
Update HaxeCommonCompilerUtil.java (#1193)
Browse files Browse the repository at this point in the history
Set the correct working path when compiling OpenFL projects.
  • Loading branch information
fstrace4 authored Nov 15, 2024
1 parent 5bae23f commit f2cd36f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ private static String calculateWorkingPath(CompilationContext context) {
String workingPath = null;

if (settings.isUseOpenFLToBuild()) {
// Use the module directory...
workingPath = context.getModuleDirPath();
String openFLPath = settings.getOpenFLPath();
workingPath = PathUtil.getParentPath(openFLPath);
} else if (settings.isUseNmmlToBuild()) {
String nmmlPath = settings.getNmmlPath();
workingPath = PathUtil.getParentPath(nmmlPath);
Expand Down

0 comments on commit f2cd36f

Please sign in to comment.