From 740544a2c773ab45d21773f47906e80491feb075 Mon Sep 17 00:00:00 2001 From: "Hunter T." Date: Sat, 7 Dec 2024 12:58:51 -0800 Subject: [PATCH 1/2] Enable debugging text by default --- update_repo.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update_repo.py b/update_repo.py index de66ca9..79240b7 100755 --- a/update_repo.py +++ b/update_repo.py @@ -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) From 8d9dd69d0fbea31c28271d7a3b07d8de45fdaa5c Mon Sep 17 00:00:00 2001 From: "Hunter T." Date: Sat, 7 Dec 2024 12:59:54 -0800 Subject: [PATCH 2/2] Rename bash script --- update_submodule.bash => update-submodule.bash | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename update_submodule.bash => update-submodule.bash (100%) diff --git a/update_submodule.bash b/update-submodule.bash similarity index 100% rename from update_submodule.bash rename to update-submodule.bash