mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
a599eab231
feat: unify file locations
10 lines
286 B
JavaScript
10 lines
286 B
JavaScript
const fs = require('fs-extra');
|
|
const os = require('os');
|
|
const path = require('path');
|
|
|
|
(async () => {
|
|
const tmpDir = process.env.RENOVATE_TMPDIR || os.tmpdir();
|
|
const baseDir = path.join(tmpDir, 'renovate');
|
|
console.log('Removing ' + baseDir);
|
|
await fs.remove(baseDir);
|
|
})();
|