Skip to content

Commit

Permalink
fix unescaped paths
Browse files Browse the repository at this point in the history
spaces in main class were causing compiler failures
  • Loading branch information
joshtynjala committed Jan 5, 2024
1 parent ff99cd4 commit 10701ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asconfigc",
"version": "1.8.0",
"version": "1.8.1",
"description": "Builds an ActionScript & MXML project configured with asconfig.json, from simple compilation to packaging Adobe AIR apps.",
"author": "Josh Tynjala",
"repository": "BowlerHatLLC/asconfigc",
Expand Down
6 changes: 3 additions & 3 deletions src/ASConfigC.as
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ package
this._allModuleCompilerArgs.push(moduleCompilerArgs);
}
if (moduleCount > 0) {
this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + linkReportPath);
this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + escapePath(linkReportPath));
}
}
if(TopLevelFields.WORKERS in configData)
Expand Down Expand Up @@ -797,7 +797,7 @@ package
for (i = 0; i < fileCount; i++)
{
file = files[i];
this._compilerArgs.push(file);
this._compilerArgs.push(escapePath(file));
}
}
}
Expand All @@ -817,7 +817,7 @@ package
//terminate previous options and start default options
this._compilerArgs.push("--");
}
this._compilerArgs.push(this._mainFile);
this._compilerArgs.push(escapePath(this._mainFile));
}
if(TopLevelFields.ANIMATE_OPTIONS in configData)
{
Expand Down

0 comments on commit 10701ad

Please sign in to comment.