Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Commit fd7eee7

Browse files
committed
fix: Testing --no-verify with --issue
Refs: ABC123
1 parent 76968c4 commit fd7eee7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.dod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# --- Optional Issue Tracker Integration ---
1515
# If true, the check-commit tool will require the --issue <ID> flag
1616
# to be used with the commit command, ensuring all work is traceable.
17-
issue_reference_required: false
17+
issue_reference_required: true
1818

1919
checklist:
2020
# --- Code Quality & Testing (High-Impact Checks) ---

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn handle_interactive_commit(
7575
return Err(anyhow::anyhow!("Aborted: Issue reference required."));
7676
}
7777

78-
// Append the issue reference as a trailer/footer if required
78+
// Append the issue reference as a trailer/footer if passed
7979
if config.issue_reference_required.unwrap_or(false) {
8080
if let Some(issue_ref) = issue {
8181
commit_message.push_str(&format!("\n\nRefs: {}", issue_ref));

0 commit comments

Comments
 (0)