Skip to content

Commit 10701ad

Browse files
committed
fix unescaped paths
spaces in main class were causing compiler failures
1 parent ff99cd4 commit 10701ad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asconfigc",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Builds an ActionScript & MXML project configured with asconfig.json, from simple compilation to packaging Adobe AIR apps.",
55
"author": "Josh Tynjala",
66
"repository": "BowlerHatLLC/asconfigc",

src/ASConfigC.as

+3-3
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ package
744744
this._allModuleCompilerArgs.push(moduleCompilerArgs);
745745
}
746746
if (moduleCount > 0) {
747-
this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + linkReportPath);
747+
this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + escapePath(linkReportPath));
748748
}
749749
}
750750
if(TopLevelFields.WORKERS in configData)
@@ -797,7 +797,7 @@ package
797797
for (i = 0; i < fileCount; i++)
798798
{
799799
file = files[i];
800-
this._compilerArgs.push(file);
800+
this._compilerArgs.push(escapePath(file));
801801
}
802802
}
803803
}
@@ -817,7 +817,7 @@ package
817817
//terminate previous options and start default options
818818
this._compilerArgs.push("--");
819819
}
820-
this._compilerArgs.push(this._mainFile);
820+
this._compilerArgs.push(escapePath(this._mainFile));
821821
}
822822
if(TopLevelFields.ANIMATE_OPTIONS in configData)
823823
{

0 commit comments

Comments
 (0)