Skip to content

Commit 360237f

Browse files
committed
Strict equality
1 parent 4f8aac5 commit 360237f

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
@@ -62,7 +62,7 @@ const cachePackages = async (packageManager: string) => {
6262
}
6363

6464
const cacheId = await cache.saveCache(cachePaths, primaryKey);
65-
if (cacheId == -1) {
65+
if (cacheId === -1) {
6666
// saveCache returns -1 without throwing when the cache was not saved, e.g.
6767
// a reserve collision or a read-only token (fork PR). @actions/cache has
6868
// already logged the reason at the appropriate severity, so just trace it.

0 commit comments

Comments
 (0)