mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
4b3c2d23ac
Renovate will now put all its data in `path.join(os.tmpdir(), '/renovate’);` and will instruct npm and yarn to do the same. To force Renovate to use a specific folder, set `process.env.TMPDIR` when running. The previous variable `RENOVATE_TMPDIR` is now deprecated and will be rewritten to TMPDIR. Closes #1794
6 lines
126 B
JavaScript
6 lines
126 B
JavaScript
const fs = require('fs-extra');
|
|
const os = require('os');
|
|
|
|
(async () => {
|
|
await fs.remove(os.tmpdir() + '/renovate');
|
|
})();
|