Fix formatting in task_packet.rs for CI

This commit is contained in:
Yeachan-Heo
2026-04-16 09:35:18 +00:00
parent 6376694669
commit 866ae7562c

View File

@@ -123,7 +123,12 @@ fn validate_scope_requirements(packet: &TaskPacket, errors: &mut Vec<String>) {
TaskScope::Module | TaskScope::SingleFile | TaskScope::Custom TaskScope::Module | TaskScope::SingleFile | TaskScope::Custom
); );
if needs_scope_path && packet.scope_path.as_ref().is_none_or(|p| p.trim().is_empty()) { if needs_scope_path
&& packet
.scope_path
.as_ref()
.is_none_or(|p| p.trim().is_empty())
{
errors.push(format!( errors.push(format!(
"scope_path is required for scope '{}'", "scope_path is required for scope '{}'",
packet.scope packet.scope