mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 03:18:26 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -13,7 +13,7 @@ const tmpFiles: string[] = [];
|
||||
async function writeTempFile(buffer: Buffer, ext: string): Promise<string> {
|
||||
const file = path.join(
|
||||
os.tmpdir(),
|
||||
`moltbot-media-${Date.now()}-${Math.random().toString(16).slice(2)}${ext}`,
|
||||
`openclaw-media-${Date.now()}-${Math.random().toString(16).slice(2)}${ext}`,
|
||||
);
|
||||
tmpFiles.push(file);
|
||||
await fs.writeFile(file, buffer);
|
||||
|
||||
Reference in New Issue
Block a user