Skip to content

Commit

Permalink
Fix caching (#135)
Browse files Browse the repository at this point in the history
* Fix caching

* Prevent errors in the future

* Bump version for relase
  • Loading branch information
MasloMaslane authored Sep 26, 2023
1 parent bcf69fc commit ff49390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sinol_make/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from sinol_make import util, oiejq


__version__ = "1.5.10"
__version__ = "1.5.11"


def configure_parsers():
Expand Down
2 changes: 1 addition & 1 deletion src/sinol_make/helpers/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def save_compiled(file_path: str, exe_path: str, is_checker: bool = False):
:param exe_path: Path to the compiled executable
:param is_checker: Whether the compiled file is a checker. If True, all cached tests are removed.
"""
info = get_cache_file(file_path)
info = CacheFile()
info.executable_path = exe_path
info.md5sum = util.get_file_md5(file_path)
info.save(file_path)
Expand Down

0 comments on commit ff49390

Please sign in to comment.