Skip to content

Commit

Permalink
Fix robocopy function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Nov 2, 2024
1 parent d1570b7 commit 62832f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _solve_src_dst_mapping(
raise ValueError("Destination should be provided when source is a single path.")
return {source: Path(destination)}

def validate(self, *args, **kwargs):
def validate(self):
if not shutil.which("robocopy"):
logger.error("Robocopy command is not available on this system.")
return False
Expand Down

0 comments on commit 62832f6

Please sign in to comment.