перенос проходов в центральный модуль
This commit is contained in:
@@ -37,7 +37,7 @@ public class DeleteDirectory extends ChangeFilePass {
|
||||
@Override
|
||||
protected void performPreparation() throws Exception {
|
||||
if (Global.mainModule.HasFile() && (Utils.isAnchestor(Global.mainModule.getFile().file, target_dir)))
|
||||
passes.get(PassCode.CloseCurrentFile).Do();
|
||||
Global.mainModule.getPass(PassCode.CloseCurrentFile).Do();
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user