Skip to content

Commit

Permalink
chore: Fix misleading comment location.
Browse files Browse the repository at this point in the history
  • Loading branch information
badshah400 committed Feb 17, 2024
1 parent 449ec05 commit adf4298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tartex/tartex.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def input_files(self):
the fls file in the same dir.
"""
if not self.main_file.with_suffix(".fls").exists() or self.recompile:
# If .fls exists, this assumes that all INPUT files recorded in it
# are also included in source dir
with TemporaryDirectory() as compile_dir:
log.info(
"%s.fls file not found in %s",
Expand All @@ -255,6 +253,8 @@ def input_files(self):
self.main_file.with_suffix(f".{ext}")
] = app
else:
# If .fls exists, this assumes that all INPUT files recorded in it
# are also included in source dir
with open(self.main_file.with_suffix(".fls"), encoding="utf-8") as f:
deps = _latex.fls_input_files(f, self.excl_files, AUXFILES)

Expand Down

0 comments on commit adf4298

Please sign in to comment.