mirror of
https://github.com/actions/setup-python.git
synced 2026-06-24 09:01:31 +03:00
Strict equality
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ async function saveCache(packageManager: string) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (cacheId == -1) {
|
||||
if (cacheId === -1) {
|
||||
// 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
|
||||
// already logged the reason at the appropriate severity, so just trace it.
|
||||
|
||||
Reference in New Issue
Block a user