mirror of
https://github.com/actions/setup-node.git
synced 2025-09-17 14:10:12 +08:00
fix typo by github copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a7ea957cac
commit
2504c6551f
@ -71,7 +71,7 @@ export async function run() {
|
|||||||
if (isCacheFeatureAvailable()) {
|
if (isCacheFeatureAvailable()) {
|
||||||
// we only determine the package manager type if we can cache in the first place
|
// we only determine the package manager type if we can cache in the first place
|
||||||
if (cache) {
|
if (cache) {
|
||||||
// in previous version of setup-node, user can explictly specify what package manager they are using, we prefer that
|
// in previous version of setup-node, user can explicitly specify what package manager they are using, we prefer that
|
||||||
core.saveState(State.CachePackageManager, cache);
|
core.saveState(State.CachePackageManager, cache);
|
||||||
await restoreCache(cache, cacheDependencyPath);
|
await restoreCache(cache, cacheDependencyPath);
|
||||||
} else if (packagemanagercache) {
|
} else if (packagemanagercache) {
|
||||||
|
Loading…
Reference in New Issue
Block a user