mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 17:24:46 +00:00
add safe
This commit is contained in:
@@ -672,6 +672,9 @@ class Installer:
|
||||
if self.dry:
|
||||
self.log.dry(f'would remove {path}')
|
||||
continue
|
||||
if self.safe:
|
||||
if not self.log.ask(f'remove unmanaged \"{path}\"'):
|
||||
return
|
||||
self.log.dbg(f'removing not managed: {path}')
|
||||
removepath(path, logger=self.log)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user