Skip to content

Commit

Permalink
Fix unit test failure in test_salesforce_files
Browse files Browse the repository at this point in the history
  • Loading branch information
mjawadtp committed Jun 14, 2024
1 parent 1081cfa commit 10d4abf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cumulusci/tasks/salesforce/salesforce_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def _run_task(self):
file_exists = os.path.exists(local_filename)

if file_exists:
self.logger.info(f'A file with the name {current_file['FileName']} already exists. in the directory. This file will be renamed.')
file_name = current_file['FileName']
self.logger.info(f'A file with the name {file_name} already exists. in the directory. This file will be renamed.')
if file_exists:
count = 1
while True:
Expand Down

0 comments on commit 10d4abf

Please sign in to comment.