mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 04:58:25 +02:00
Rename to no-cache
This commit is contained in:
parent
fe6ae30010
commit
f59de90fb6
4 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@ export type Input = {
|
|||
profile?: boolean;
|
||||
scope?: string;
|
||||
registryUrl?: string;
|
||||
disableCache?: boolean;
|
||||
noCache?: boolean;
|
||||
};
|
||||
|
||||
export type Output = {
|
||||
|
@ -114,8 +114,8 @@ export default async (options: Input): Promise<Output> => {
|
|||
};
|
||||
|
||||
function isCacheEnabled(options: Input): boolean {
|
||||
const { customUrl, version, disableCache } = options;
|
||||
if (disableCache) {
|
||||
const { customUrl, version, noCache } = options;
|
||||
if (noCache) {
|
||||
return false;
|
||||
}
|
||||
if (customUrl) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue