style: 移除没必要的局部变量
This commit is contained in:
parent
3c43e31afb
commit
a1b92f0cc8
@ -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.");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user