Skip to content

Commit

Permalink
fix new line
Browse files Browse the repository at this point in the history
Signed-off-by: Sumit Jaiswal <[email protected]>
  • Loading branch information
justjais committed Jun 27, 2024
1 parent c01a2d5 commit 5f047fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ansible_risk_insight/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,7 @@ def update_the_yaml_target(file_path, line_number_list, new_content_list):
temp_content = []
start = start_line_number - 1
end = stop_line_number - 1
if len(data_copy) != start:
data_copy.append('\n')
data_copy.append('\n')
for i in range(start, end):
line_number = i
if len(lines) == i:
Expand Down

0 comments on commit 5f047fd

Please sign in to comment.