mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 03:28:42 +00:00
testing: add debug lines
This commit is contained in:
parent
ccb6d0562b
commit
4a77f694db
2 changed files with 4 additions and 0 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -73413,6 +73413,8 @@ function resolveVersionFromManifest(versionSpec, stable, auth, osArch = translat
|
|||
function evaluateVersions(versions, versionSpec) {
|
||||
let version = '';
|
||||
core.debug(`evaluating ${versions.length} versions`);
|
||||
core.debug(`version 1 is ${versions[0]}`);
|
||||
core.debug(`version spec is ${versionSpec}`);
|
||||
versions = versions.map(item => item.replace('nightly', 'nightly.')).sort((a, b) => {
|
||||
if (semver.gt(a, b)) {
|
||||
return 1;
|
||||
|
|
|
@ -350,6 +350,8 @@ async function resolveVersionFromManifest(
|
|||
function evaluateVersions(versions: string[], versionSpec: string): string {
|
||||
let version = '';
|
||||
core.debug(`evaluating ${versions.length} versions`);
|
||||
core.debug(`version 1 is ${versions[0]}`);
|
||||
core.debug(`version spec is ${versionSpec}`);
|
||||
versions = versions.map(item => item.replace('nightly', 'nightly.')).sort((a, b) => {
|
||||
if (semver.gt(a, b)) {
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue