Skip to content

Commit

Permalink
Removed test data from Git clone (reference #449)
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed Mar 19, 2019
1 parent 0bc120e commit 5889b8e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,11 @@ package actionScripts.plugins.git

private function openClonedProjectBy(path:File):void
{
print("Repository saved at:"+ path.nativePath);
// validate first if root is a know project
var isKnownProject:FileLocation = FlashDevelopImporter.test(path);
print("isFlashDeveloper Project: "+ (isKnownProject ? isKnownProject.fileBridge.nativePath : 'No'));
if (!isKnownProject) isKnownProject = FlashBuilderImporter.test(path);
print("isFlashBuilder Project: "+ (isKnownProject ? isKnownProject.fileBridge.nativePath : 'No'));

print("Opening project from:"+ path.nativePath);
if (isKnownProject)
dispatcher.dispatchEvent(new ProjectEvent(ProjectEvent.EVENT_IMPORT_PROJECT_NO_BROWSE_DIALOG, path));
}
Expand Down

0 comments on commit 5889b8e

Please sign in to comment.