style: 移除没必要的局部变量

This commit is contained in:
zhangxun 2025-07-05 10:37:28 +08:00
parent 3c43e31afb
commit a1b92f0cc8

View File

@ -30,10 +30,8 @@ public final class CleanTask implements Task {
*/ */
@Override @Override
public void run() throws IOException { public void run() throws IOException {
Path build = Path.of("build"); deleteDir(Path.of("build"), false);
Path dist = Path.of("dist"); deleteDir(Path.of("dist"), false);
deleteDir(build, false);
deleteDir(dist, false);
System.out.println("[clean] done."); System.out.println("[clean] done.");
} }