mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 16:59:15 +08:00
npm run format-check
This commit is contained in:
parent
421a424aca
commit
5e18b7892a
|
@ -184,7 +184,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const restoredKeys = restoreCacheSpy.mock.results.map(result => result.value);
|
const restoredKeys = restoreCacheSpy.mock.results.map(
|
||||||
|
result => result.value
|
||||||
|
);
|
||||||
|
|
||||||
restoredKeys.forEach(restoredKey => {
|
restoredKeys.forEach(restoredKey => {
|
||||||
if (restoredKey) {
|
if (restoredKey) {
|
||||||
|
@ -202,7 +204,9 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
expect(infoSpy).toHaveBeenCalledWith(`${packageManager} cache is not found`);
|
expect(infoSpy).toHaveBeenCalledWith(
|
||||||
|
`${packageManager} cache is not found`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue