Skip to content

Commit

Permalink
Redundant codes removed (reference #449)
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed Feb 27, 2019
1 parent dabb99d commit 4743dd7
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,13 @@ package actionScripts.valueObjects
}

// royale
compilerExtension = ConstantsCoreVO.IS_MACOS ? "" : ".bat";
compilerFile = fileLocation.resolvePath(JS_SDK_COMPILER_NEW + compilerExtension);
if (compilerFile.fileBridge.exists)
{
if (fileLocation.resolvePath("frameworks/royale-config.xml").fileBridge.exists) return SDKTypes.ROYALE;
}

// feathers
compilerExtension = ConstantsCoreVO.IS_MACOS ? "" : ".bat";
compilerFile = fileLocation.resolvePath(FLEX_SDK_COMPILER + compilerExtension);
if (compilerFile.fileBridge.exists)
{
Expand All @@ -167,7 +165,6 @@ package actionScripts.valueObjects
// determine if the sdk version is lower than 0.8.0 or not
var isFlexJSAfter7:Boolean = UtilsCore.isNewerVersionSDKThan(7, this.path);

compilerExtension = ConstantsCoreVO.IS_MACOS ? "" : ".bat";
compilerFile = fileLocation.resolvePath(JS_SDK_COMPILER_NEW + compilerExtension);
if (isFlexJSAfter7 && compilerFile.fileBridge.exists)
{
Expand Down

0 comments on commit 4743dd7

Please sign in to comment.