poetry: Simplify virtualenvs.in-project boolean check

This commit is contained in:
Oran Avraham 2022-11-15 13:13:07 -05:00
parent 95696f7028
commit bb9c5ac469
No known key found for this signature in database
GPG key ID: 93535690AF9131E5
2 changed files with 2 additions and 2 deletions

View file

@ -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'));
}