mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Fix linting error in file_copy plugin
This commit is contained in:
parent
876ea7bd85
commit
273b5e0183
1 changed files with 0 additions and 5 deletions
|
@ -69,9 +69,4 @@ class FileCopyCommand(Task):
|
||||||
else:
|
else:
|
||||||
shutil.copytree(src_path, final_destination)
|
shutil.copytree(src_path, final_destination)
|
||||||
|
|
||||||
if os.path.isfile(src_path) and os.path.isdir(final_destination):
|
|
||||||
dst = os.path.join(final_destination, os.path.basename(src_path))
|
|
||||||
else:
|
|
||||||
dst = final_destination
|
|
||||||
|
|
||||||
modify_path(info, file_entry['dst'], file_entry)
|
modify_path(info, file_entry['dst'], file_entry)
|
||||||
|
|
Loading…
Add table
Reference in a new issue