mirror of
https://github.com/actions/setup-node.git
synced 2026-05-19 05:47:30 +08:00
test-cases
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user