mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 06:26:26 +00:00
10 lines
307 B
JavaScript
10 lines
307 B
JavaScript
import { tmpdir } from 'node:os';
|
|
import { remove } from 'fs-extra';
|
|
import upath from 'upath';
|
|
|
|
await (async () => {
|
|
const tmpDir = process.env.RENOVATE_TMPDIR ?? tmpdir();
|
|
const renovateDir = upath.join(tmpDir, 'renovate');
|
|
console.log('Removing ' + renovateDir);
|
|
await remove(renovateDir);
|
|
})();
|