mirror of
https://github.com/actions/setup-python.git
synced 2026-01-21 13:48:54 +08:00
poetry: Simplify virtualenvs.in-project boolean check
This commit is contained in:
parent
95696f7028
commit
bb9c5ac469
2 changed files with 2 additions and 2 deletions
|
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue