Merge pull request 'remove outdated comment' (#595) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 17s
checks / test (push) Successful in 42s
checks-impure / test (push) Successful in 1m5s

This commit is contained in:
clan-bot 2023-12-01 09:14:07 +00:00
commit 2ac92ae308

View File

@ -11,7 +11,6 @@ from ..locked_open import locked_open
async def add_flake(path: Path) -> dict[str, CmdOut]:
user_history_file().parent.mkdir(parents=True, exist_ok=True)
# append line to history file
# TODO: Make this atomic
lines: set = set()
old_lines = set()
with locked_open(user_history_file(), "w+") as f: