mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
12 lines
402 B
JavaScript
12 lines
402 B
JavaScript
import { tmpdir } from 'os';
|
|
import { remove } from 'fs-extra';
|
|
import { join } from 'upath';
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
(async () => {
|
|
const tmpDir = process.env.RENOVATE_TMPDIR ?? tmpdir();
|
|
const renovateDir = join(tmpDir, 'renovate');
|
|
// eslint-disable-next-line no-console
|
|
console.log('Removing ' + renovateDir);
|
|
await remove(renovateDir);
|
|
})();
|