mirror of
https://github.com/actions/setup-python.git
synced 2025-08-26 18:54:19 +00:00
Restore mocked value for non linux
This commit is contained in:
parent
bdfd06e951
commit
2f31a3b56e
@ -122,6 +122,12 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
||||
jest.fn().mockReturnValue(true);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
Object.defineProperty(utils, 'IS_LINUX', {
|
||||
value: () => {
|
||||
jest.fn().mockReturnValue(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
await cacheDistributor.restoreCache();
|
||||
|
Loading…
x
Reference in New Issue
Block a user