перенос проходов в центральный модуль
This commit is contained in:
@@ -59,12 +59,12 @@ public class CreateGroupFromDirectory extends PublishTests {
|
||||
Log.Writeln_("В выбранной папке не найдено ни одной папки");
|
||||
return false;
|
||||
}
|
||||
if (passes.get(PassCode.PublishGroup).Do(dir.getName().toUpperCase())) {
|
||||
if ( Global.mainModule.getPass(PassCode.PublishGroup).Do(dir.getName().toUpperCase())) {
|
||||
group = Global.mainModule.getGroup();
|
||||
} else return false;
|
||||
//---------------
|
||||
Vector<File> files = new Vector<>(Arrays.asList(files_));
|
||||
Pass.passes.get(PassCode.UpdateSetting).Do(SettingName.ProjectsSearchDirectory, directoryChooser.getCurrentDirectory());
|
||||
Global.mainModule.getPass(PassCode.UpdateSetting).Do(SettingName.ProjectsSearchDirectory, directoryChooser.getCurrentDirectory());
|
||||
return super.canStart(files, group);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user