style: format extracted runtime helpers

This commit is contained in:
Eyejoker
2026-03-23 06:39:47 +09:00
parent 898c77fcfc
commit 2ab7aedcce
3 changed files with 6 additions and 9 deletions

View File

@@ -3,7 +3,10 @@ import path from 'path';
import { DATA_DIR } from './config.js';
export function queueFollowUpMessage(groupFolder: string, text: string): string {
export function queueFollowUpMessage(
groupFolder: string,
text: string,
): string {
const inputDir = path.join(DATA_DIR, 'ipc', groupFolder, 'input');
fs.mkdirSync(inputDir, { recursive: true });
const filename = `${Date.now()}-${Math.random().toString(36).slice(2, 6)}.json`;