Skip to content

Commit

Permalink
fix: map force to WriteOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jul 12, 2024
1 parent 9f3f657 commit 355fd37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function effectiveCacheMode(
'Setting both "force" and "cacheMode" is not supported, please exclusively use "cacheMode"',
);
}
return ElectronDownloadCacheMode.ReadWrite;
return ElectronDownloadCacheMode.WriteOnly;
}

return artifactDetails.cacheMode || ElectronDownloadCacheMode.ReadWrite;
Expand Down

0 comments on commit 355fd37

Please sign in to comment.