We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EXDEV: cross-device link not permitted
1 parent 61206a0 commit 61b4ee6Copy full SHA for 61b4ee6
src/server.ts
@@ -279,7 +279,7 @@ export class BlobsServer {
279
})
280
281
await fs.mkdir(dirname(dataPath), { recursive: true })
282
- await fs.rename(tempDataPath, dataPath)
+ await fs.copyFile(tempDataPath, dataPath)
283
await fs.rm(tempDirectory, { force: true, recursive: true })
284
285
await fs.mkdir(dirname(metadataPath), { recursive: true })
0 commit comments