Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

254 B
Raw Blame
import { execFile } from 'node:child_process';

const quote = (value: string) => "'" + value.replaceAll("'", "'\\''") + "'";

export const inspectUpload = (input: { filename: string }) =>
  execFile('/bin/sh', ['-c', `cat -- ${quote(input.filename)}`]);