Merge remote-tracking branch 'origin/main'
# Conflicts: # .idea/workspace.xml
This commit is contained in:
@@ -88,8 +88,8 @@ class DevDiskImageDeployer:
|
||||
exists = dst.exists()
|
||||
if exists and not self.overwrite:
|
||||
skipped += 1
|
||||
if self.verbose:
|
||||
print(f"[SKIP] {dst} 已存在(目录)")
|
||||
# if self.verbose:
|
||||
# print(f"[SKIP] {dst} 已存在(目录)")
|
||||
continue
|
||||
if exists and self.overwrite and not self.dry_run:
|
||||
shutil.rmtree(dst)
|
||||
@@ -105,8 +105,8 @@ class DevDiskImageDeployer:
|
||||
exists = dst.exists()
|
||||
if exists and not self.overwrite:
|
||||
skipped += 1
|
||||
if self.verbose:
|
||||
print(f"[SKIP] {dst} 已存在(zip)")
|
||||
# if self.verbose:
|
||||
# print(f"[SKIP] {dst} 已存在(zip)")
|
||||
continue
|
||||
if exists and self.overwrite and not self.dry_run:
|
||||
dst.unlink()
|
||||
|
||||
Reference in New Issue
Block a user