Skip to content

Commit 6f4b74b

Browse files
committed
Strict equality
1 parent fa8bde1 commit 6f4b74b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cache-save.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function saveCache(packageManager: string) {
7070
return;
7171
}
7272

73-
if (cacheId == -1) {
73+
if (cacheId === -1) {
7474
// saveCache returns -1 without throwing when the cache was not saved, e.g.
7575
// a reserve collision or a read-only token (fork PR). @actions/cache has
7676
// already logged the reason at the appropriate severity, so just trace it.

0 commit comments

Comments
 (0)