MCPcopy Create free account
hub / github.com/shelljs/shx / range

Function range

scripts/check-node-support.js:45–54  ·  view source on GitHub ↗
(start, stop)

Source from the content-addressed store, hash-verified

43}
44
45function range(start, stop) {
46 var ret = [];
47 for (var i = start; i <= stop; i += 2) {
48 if (i % 2 !== 0) {
49 console.warn('Warning: testing a non-LTS nodejs release: ' + i);
50 }
51 ret.push(i);
52 }
53 return ret;
54}
55
56function checkGithubActions(minNodeVersion, maxNodeVersion, githubActionsYaml) {
57 var expectedVersions = range(minNodeVersion, maxNodeVersion);

Callers 1

checkGithubActionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…