refactor: Revert "refactor: add YARN_CACHE_FOLDER to env"

This reverts commit f0111101c9.
This commit is contained in:
Rhys Arkins 2018-01-29 09:54:49 +01:00
parent 37d83cf61a
commit b32b7447da

View file

@ -302,10 +302,7 @@ async function getUpdatedLockFiles(config) {
const env = const env =
config.global && config.global.exposeEnv config.global && config.global.exposeEnv
? process.env ? process.env
: { : { PATH: process.env.PATH };
PATH: process.env.PATH,
YARN_CACHE_FOLDER: process.env.YARN_CACHE_FOLDER,
};
env.NODE_ENV = 'dev'; env.NODE_ENV = 'dev';
for (const lockFileDir of dirs.packageLockFileDirs) { for (const lockFileDir of dirs.packageLockFileDirs) {