Strict equality

This commit is contained in:
Jason Ginchereau
2026-06-18 15:46:13 -07:00
parent fa8bde1a9c
commit 6f4b74bfa2
+1 -1
View File
@@ -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.