Skip to content

Commit 866ae75

Browse files
committed
Fix formatting in task_packet.rs for CI
1 parent 6376694 commit 866ae75

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

rust/crates/runtime/src/task_packet.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ fn validate_scope_requirements(packet: &TaskPacket, errors: &mut Vec<String>) {
123123
TaskScope::Module | TaskScope::SingleFile | TaskScope::Custom
124124
);
125125

126-
if needs_scope_path && packet.scope_path.as_ref().is_none_or(|p| p.trim().is_empty()) {
126+
if needs_scope_path
127+
&& packet
128+
.scope_path
129+
.as_ref()
130+
.is_none_or(|p| p.trim().is_empty())
131+
{
127132
errors.push(format!(
128133
"scope_path is required for scope '{}'",
129134
packet.scope

0 commit comments

Comments
 (0)