"tasks/vscode:/vscode.git/clone" did not exist on "a8d172b31e921d0ad0889660443846098496d696"
Unverified Commit 93f73a38 authored by NielsRogge's avatar NielsRogge Committed by GitHub
Browse files

Fix push to hub (#24187)

Add fix
parent e26c6f03
......@@ -712,7 +712,6 @@ class PushToHubMixin:
operations = []
# upload standalone files
for file in modified_files:
operations.append(CommitOperationAdd(path_or_fileobj=os.path.join(working_dir, file), path_in_repo=file))
if os.path.isdir(os.path.join(working_dir, file)):
# go over individual files of folder
for f in os.listdir(os.path.join(working_dir, file)):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment