mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
fix: cfg-gate scope-note helper (dead code on OSS builds)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PP5gBSPfo1YtkL1sWVAjJm
This commit is contained in:
co-authored by
Claude Fable 5
parent
3ab398d6fc
commit
5787c2c355
@@ -1134,6 +1134,7 @@ async fn persist_git_sync_open_pr_error(
|
||||
/// A one-line description of the repo's sync filters, appended to an "in sync"
|
||||
/// PR verdict: a PR that only touches files outside these paths deploys
|
||||
/// nothing on merge, which otherwise looks like a wrong verdict.
|
||||
#[cfg(all(feature = "enterprise", feature = "private"))]
|
||||
fn format_git_sync_scope_note(include: &[String], exclude: &[String]) -> Option<String> {
|
||||
if include.is_empty() {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user