mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 18:50:10 +08:00
chore: build
This commit is contained in:
parent
8251de54ce
commit
c8d57cdc66
2
dist/utils/install.js
vendored
2
dist/utils/install.js
vendored
@ -10,7 +10,7 @@ export default async (release) => {
|
|||||||
const cache = find('bun', release.version) || await restoreCache([path], `bun-${process.platform}-${asset.name}`);
|
const cache = find('bun', release.version) || await restoreCache([path], `bun-${process.platform}-${asset.name}`);
|
||||||
if (cache) {
|
if (cache) {
|
||||||
info(`Using cached Bun installation from ${cache}.`);
|
info(`Using cached Bun installation from ${cache}.`);
|
||||||
addPath(cache);
|
addPath(path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
info(`Downloading Bun from ${asset.asset.browser_download_url}.`);
|
info(`Downloading Bun from ${asset.asset.browser_download_url}.`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user