mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 22:38:43 +00:00
Run lint
This commit is contained in:
parent
a743c858bf
commit
f882236246
1 changed files with 3 additions and 1 deletions
|
@ -115,7 +115,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
|||
);
|
||||
|
||||
if (process.env['RUNNER_OS']?.toLowerCase() === 'linux') {
|
||||
computeKeysSpy.mockImplementation(() => Promise.resolve('Ubuntu-20.4'));
|
||||
computeKeysSpy.mockImplementation(() =>
|
||||
Promise.resolve('Ubuntu-20.4')
|
||||
);
|
||||
Object.defineProperty(utils, 'IS_LINUX', {
|
||||
value: () => {
|
||||
jest.fn().mockImplementation(() => true);
|
||||
|
|
Loading…
Add table
Reference in a new issue