Skip to content

Commit f174239

Browse files
committed
style(repo): 补 10 个源文件的末尾换行
1 parent 0c299fc commit f174239

10 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎app/src-tauri/src/ai_provider.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,4 @@ pub fn normalize_retired_deepseek_models(store: &mut AiProviderStore) -> bool {
309309
/// 单测独立文件(保持本文件 ≤300 行,AGENTS.md §3)。
310310
#[cfg(test)]
311311
#[path = "ai_provider_tests.rs"]
312-
mod tests;
312+
mod tests;

‎app/src-tauri/src/ai_provider_tests.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,4 @@ fn normalize_dedups_and_keeps_default_in_list() {
263263
assert_eq!(p.models, vec!["deepseek-flash".to_string()]);
264264
assert_eq!(p.default_model, "deepseek-flash");
265265
assert!(p.validate().is_ok());
266-
}
266+
}

‎app/src-tauri/src/asr_pass2.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,4 @@ pub fn overlay_segments(
247247

248248
#[cfg(test)]
249249
#[path = "asr_pass2_tests.rs"]
250-
mod tests;
250+
mod tests;

‎app/src-tauri/src/commands_knowledge_cards.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ pub fn model_card_from_note(
167167
};
168168
let essence = if excerpt.is_empty() { None } else { Some(excerpt) };
169169
create_model_card_inner(&state.db, group_id, name, essence, None, None)
170-
}
170+
}

‎app/src-tauri/src/commands_video.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,4 @@ pub fn remember_video_profile_tier(
353353
// ── 单测独立文件(四象限矩阵 + 记忆/检测回归)──
354354
#[cfg(test)]
355355
#[path = "commands_video_tests.rs"]
356-
mod tests;
356+
mod tests;

‎app/src/components/NoteEditView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,4 @@ const NoteEditView = forwardRef<NoteEditHandle, Props>(function NoteEditView({ n
409409
);
410410
});
411411

412-
export default NoteEditView;
412+
export default NoteEditView;

‎app/src/components/RefineWorkbench.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,4 +494,4 @@ export default function RefineWorkbench({
494494
)}
495495
</Modal>
496496
);
497-
}
497+
}

‎app/src/components/useNoteAttention.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ export function useNoteAttention(noteId: number | null, noteTitle: string) {
6666
ensureFlushTimer();
6767

6868
// 页面卸载前尝试上报(beforeunload 监听同样为应用级单例,无需移除)
69-
window.addEventListener?.("beforeunload", () => flushRecords());
69+
window.addEventListener?.("beforeunload", () => flushRecords());

‎app/src/pages/NotesPage.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,4 @@ export default function NotesPage({ focusNoteId, focusNoteSearch, focusGroupId,
292292
/>
293293
</div>
294294
);
295-
}
295+
}

‎app/src/ui/primitives/emptyStateRatchet.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ describe("空态切片棘轮(B11)", () => {
293293
expect(pagesHits.length, "域内 pages/** 一处命中都没有 ⇒ 上一条空真").toBeGreaterThan(0);
294294
expect(pagesHits.filter((f) => !SLICE.includes(f)), "这些 pages/** 有命中却不在切片里").toEqual([]);
295295
});
296-
});
296+
});

0 commit comments

Comments
 (0)