diff --git a/dist/setup/index.js b/dist/setup/index.js index d5793b2d..28e3cee7 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -66124,7 +66124,7 @@ class PoetryCache extends cache_distributor_1.default { const cacheDir = poetryConfig['cache-dir']; const virtualenvsPath = poetryConfig['virtualenvs.path'].replace('{cache-dir}', cacheDir); paths.add(virtualenvsPath); - if (poetryConfig['virtualenvs.in-project'] === true) { + if (poetryConfig['virtualenvs.in-project']) { paths.add(path.join(basedir, '.venv')); } if (pythonLocation) { diff --git a/src/cache-distributions/poetry-cache.ts b/src/cache-distributions/poetry-cache.ts index ac394645..24a96b13 100644 --- a/src/cache-distributions/poetry-cache.ts +++ b/src/cache-distributions/poetry-cache.ts @@ -41,7 +41,7 @@ class PoetryCache extends CacheDistributor { paths.add(virtualenvsPath); - if (poetryConfig['virtualenvs.in-project'] === true) { + if (poetryConfig['virtualenvs.in-project']) { paths.add(path.join(basedir, '.venv')); }