Remove period from 'Stashing unstaged files to {patch_filename}.'

This extra period makes it ever so slightly more difficult to copy the path in the rare circumstance where I actually care about the path.
This commit is contained in:
Nolan Hawkins 2022-08-18 16:19:37 -04:00 committed by GitHub
parent 3fe38dff05
commit 61c22e1ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ def _unstaged_changes_cleared(patch_dir: str) -> Generator[None, None, None]:
patch_filename = f'patch{int(time.time())}-{os.getpid()}' patch_filename = f'patch{int(time.time())}-{os.getpid()}'
patch_filename = os.path.join(patch_dir, patch_filename) patch_filename = os.path.join(patch_dir, patch_filename)
logger.warning('Unstaged files detected.') logger.warning('Unstaged files detected.')
logger.info(f'Stashing unstaged files to {patch_filename}.') logger.info(f'Stashing unstaged files to {patch_filename}')
# Save the current unstaged changes as a patch # Save the current unstaged changes as a patch
os.makedirs(patch_dir, exist_ok=True) os.makedirs(patch_dir, exist_ok=True)
with open(patch_filename, 'wb') as patch_file: with open(patch_filename, 'wb') as patch_file: