renovate/lib/helpers
Hutson Betts 63dae3d901 fix(yarn): remove call to tmp cleanup function (#140)
Remove the direct call to `tmp`'s manual cleanup function
as `tmp` adds a listener on process exit to call cleanup
on all created directories (that weren't created with the
`keep` option set to `true`).

This is considered a fix because under some conditions the cleanup
will fail on Windows, and because the cleanup is called manually
in the middle of a renovate cycle, any sporadic failure will fail
the entire renovate process.

Instead, defer the temporary directory cleanup until after renovate
has completed, where a failure won't de-rail the entire cycle.

(I have not been able to track down why `tmp` fails sometimes on
Windows with my various project setups.)
2017-03-24 12:38:19 +01:00
..
changelog.js Refactor worker code for testing (#102) 2017-02-14 08:08:40 +01:00
package-json.js Refactor worker code for testing (#102) 2017-02-14 08:08:40 +01:00
versions.js Configurable ignore behaviour (#56) 2017-01-17 14:27:48 +01:00
yarn.js fix(yarn): remove call to tmp cleanup function (#140) 2017-03-24 12:38:19 +01:00