mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 06:58:24 +02:00
test-cases
This commit is contained in:
parent
6a4f7710a5
commit
9312b4364b
7 changed files with 199 additions and 205 deletions
|
@ -16,6 +16,9 @@ export default class OfficialBuilds extends BaseDistribution {
|
|||
|
||||
public async setupNodeJs() {
|
||||
if (this.nodeInfo.mirrorURL) {
|
||||
if (this.nodeInfo.mirrorURL === '') {
|
||||
throw new Error('Mirror URL is empty. Please provide a valid mirror URL.');
|
||||
}
|
||||
let downloadPath = '';
|
||||
let toolPath = '';
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue