We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4356690 commit 515748cCopy full SHA for 515748c
adoc_math/f_processing.py
@@ -26,7 +26,7 @@ def handle_source_file(
26
closing_tag_linenum = cell.linenum
27
else:
28
raise AdocMathException(DEAD_CODE_MSG)
29
- lines_inserted = s.file_2_lines_inserted[file_path]
+ lines_inserted = s.file_2_lines_inserted[cell.path]
30
s.comment_out(
31
file_contents=s.file_contents_proposed[cell.path],
32
linenums=range(
@@ -54,7 +54,7 @@ def handle_source_file(
54
closing_tag_linenum + lines_inserted,
55
LineInFile(macro),
56
)
57
- s.file_2_lines_inserted[file_path] = LinesInserted(lines_inserted + 1)
+ s.file_2_lines_inserted[cell.path] = LinesInserted(lines_inserted + 1)
58
# endregion
59
60
def get_file_name(
0 commit comments