You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(style): bulk shfmt v3.13.1 reformat across all scripts (#39)
## Summary
- Restores Pre-commit CI to green. Repo's main has been failing since
2026-04-18 because pre-commit-config pinned shfmt v3.13.1-1, but the
repo files were formatted by an older shfmt version with different
rules.
- Pure formatting changes — no semantic effects.
## Changes
- 4-space → 2-space indent
- pipe-at-EOL → `\` continuation with pipe-at-BOL (`--binary-next-line`
flag)
- minor whitespace normalisation
12 `.sh` files touched; `shellcheck --severity=warning` clean across
all.
## Test plan
- [ ] Pre-commit CI passes (it's been red for 3 weeks; this should fix
it)
- [ ] shfmt --diff is empty repo-wide after merge
- [ ] No behavioral changes (formatting only)
## Notes
This unblocks #38 (qbm-qbit + notifiarr-branch-builder cherry-pick),
which inherits the broken Pre-commit run from main.
Co-authored-by: Claude <[email protected]>
echo"[$(date +"%Y-%m-%d %H:%M:%S")] Duplicate search started"| tee -a "$log_file"
33
+
local log_file="$JDUPES_OUTPUT_LOG"
34
+
local start_time
35
+
start_time=$(date +%s)
36
+
echo"[$(date +"%Y-%m-%d %H:%M:%S")] Duplicate search started"| tee -a "$log_file"
37
37
38
-
if [ "$DEBUG"=="true" ];then
39
-
echo"Running jdupes with:"| tee -a "$log_file"
40
-
echo"$JDUPES_COMMAND$JDUPES_EXCLUDE_DIRS -X onlyext:$JDUPES_INCLUDE_EXT -r -M -y $JDUPES_HASH_DB$JDUPES_SOURCE_DIR$JDUPES_DESTINATION_DIR"| tee -a "$log_file"
41
-
fi
38
+
if [ "$DEBUG"=="true" ];then
39
+
echo"Running jdupes with:"| tee -a "$log_file"
40
+
echo"$JDUPES_COMMAND$JDUPES_EXCLUDE_DIRS -X onlyext:$JDUPES_INCLUDE_EXT -r -M -y $JDUPES_HASH_DB$JDUPES_SOURCE_DIR$JDUPES_DESTINATION_DIR"| tee -a "$log_file"
0 commit comments