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.
1 parent 16ca9f4 commit 6af8bb9Copy full SHA for 6af8bb9
src/utils.ts
@@ -23,7 +23,7 @@ export const split = (str: string, delimiter: string): [string, string] => {
23
*/
24
export const clean = async (name: string): Promise<void> => {
25
const dir = path.join(os.tmpdir(), `coder/${name}`)
26
- await fs.promises.rmdir(dir, { recursive: true })
+ await fs.promises.rm(dir, { force: true, recursive: true })
27
}
28
29
/**
0 commit comments