mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Restore mocked value for non linux
This commit is contained in:
parent
bdfd06e951
commit
2f31a3b56e
1 changed files with 6 additions and 0 deletions
|
@ -122,6 +122,12 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
||||||
jest.fn().mockReturnValue(true);
|
jest.fn().mockReturnValue(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
Object.defineProperty(utils, 'IS_LINUX', {
|
||||||
|
value: () => {
|
||||||
|
jest.fn().mockReturnValue(false);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
await cacheDistributor.restoreCache();
|
await cacheDistributor.restoreCache();
|
||||||
|
|
Loading…
Add table
Reference in a new issue