mirror of
https://github.com/actions/setup-python.git
synced 2026-07-17 21:59:58 +08:00
Strict equality
This commit is contained in:
parent
fa8bde1a9c
commit
6f4b74bfa2
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ async function saveCache(packageManager: string) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cacheId == -1) {
|
if (cacheId === -1) {
|
||||||
// saveCache returns -1 without throwing when the cache was not saved, e.g.
|
// saveCache returns -1 without throwing when the cache was not saved, e.g.
|
||||||
// a reserve collision or a read-only token (fork PR). @actions/cache has
|
// a reserve collision or a read-only token (fork PR). @actions/cache has
|
||||||
// already logged the reason at the appropriate severity, so just trace it.
|
// already logged the reason at the appropriate severity, so just trace it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue