Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debugging text by default and rename script #95

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
7 changes: 4 additions & 3 deletions update_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ def zsh_config():
while line_number < len(data):
line = data[line_number]

# Uncomment the code below to help debug edge cases.
# print(f"Processing line {line_number + 1} of {file_paths['from']}")
# print(f"Line: {line}")
## DEBUG: The below lines help with debugging, especially when running in a
## CI/CD environment.
print(f"Processing line {line_number + 1} of {file_paths['from']}")
print(f"Line: {line}")

if any(marker in line for marker in CHEZMOI_STATEMENTS):
skip_line = chezmoi_edge_case(line, data, line_number)
Expand Down