Skip to content
Snippets Groups Projects
Select Git revision
  • f3c21d203383940d65aa1c97841d7ff7dcec010e
  • master default
2 results

clean-cache.js

Blame
    • Rhys Arkins's avatar
      4b3c2d23
      feat: combine tmp storage (#2533) · 4b3c2d23
      Rhys Arkins authored
      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
      feat: combine tmp storage (#2533)
      Rhys Arkins authored
      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
    clean-cache.js 126 B
    const fs = require('fs-extra');
    const os = require('os');
    
    (async () => {
      await fs.remove(os.tmpdir() + '/renovate');
    })();