Skip to content

Commit 527e831

Browse files
committed
Fix lint and rust check
1 parent 98bae41 commit 527e831

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/next-swc/crates/next-api/src/server_actions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async fn parse_actions(module: Vc<Box<dyn Module>>) -> Result<Vc<OptionActionMap
228228
);
229229
};
230230

231-
let Some(actions) = parse_server_actions(&program, comments.clone()) else {
231+
let Some(actions) = parse_server_actions(program, comments.clone()) else {
232232
return Ok(OptionActionMap::none());
233233
};
234234

packages/next/src/server/lib/router-utils/setup-dev.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,11 +675,11 @@ async function startWatcher(opts: SetupOpts) {
675675
}
676676

677677
function mergeActionIds(
678-
manifest: ActionEntries,
678+
actionEntries: ActionEntries,
679679
other: ActionEntries
680680
): void {
681681
for (const key in other) {
682-
const action = (manifest[key] ??= { workers: {}, layer: {} })
682+
const action = (actionEntries[key] ??= { workers: {}, layer: {} })
683683
Object.assign(action.workers, other[key].workers)
684684
Object.assign(action.layer, other[key].layer)
685685
}

0 commit comments

Comments
 (0)