перенос проходов в центральный модуль
This commit is contained in:
@@ -22,7 +22,7 @@ public class DownloadAllBugReportsArchives extends ComponentsRepositoryPass<File
|
||||
}
|
||||
@Override
|
||||
protected void performPreparation() throws Exception {
|
||||
passes.get(PassCode.CloseCurrentProject).Do();
|
||||
Global.mainModule.getPass(PassCode.CloseCurrentProject).Do();
|
||||
Global.mainModule.set(Current.Root, null); //чтобы гарантированно не существовало корня.
|
||||
Utils.CleanDirectory(Global.BugReportsDirectory);
|
||||
}
|
||||
@@ -43,7 +43,7 @@ public class DownloadAllBugReportsArchives extends ComponentsRepositoryPass<File
|
||||
protected void performDone() throws Exception {
|
||||
File tempFolder = Utils.getTempFileName("bugsBuffer");
|
||||
//-
|
||||
passes.get(PassCode.UnzipFolderPass).Do(
|
||||
Global.mainModule.getPass(PassCode.UnzipFolderPass).Do(
|
||||
target.getAbsolutePath(),
|
||||
tempFolder.getAbsolutePath()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user