Fix a wrong variable gaffe

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
remi 2025-03-27 18:47:52 +01:00 committed by GitHub
parent da1e99df3c
commit 6c3a6d3939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ export async function handleCreate(argv) {
if (contentStat.isSymbolicLink()) { if (contentStat.isSymbolicLink()) {
await fs.promises.unlink(contentFolder) await fs.promises.unlink(contentFolder)
} else { } else {
await rm(path, { recursive: true }) await rm(contentFolder, { recursive: true })
} }
} }