Skip to content

Commit 9e1a416

Browse files
committed
Fixed issue where an SDK path ending in backslash on Windows would cause compilation to fail
1 parent 7c8c942 commit 9e1a416

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ASConfigC.as

+6
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ package
181181
case "flexHome":
182182
{
183183
this._sdkHome = args[key] as String;
184+
//on windows, don't let the path end with a backslash
185+
//because resolving sub-directories may fail
186+
if(this._sdkHome.endsWith("\\"))
187+
{
188+
this._sdkHome = this._sdkHome.substr(0, this._sdkHome.length - 1);
189+
}
184190
break;
185191
}
186192
case "p":

0 commit comments

Comments
 (0)