mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-20 10:11:21 +00:00
Fix node version incompatibility error
This commit is contained in:
parent
34557c202d
commit
be5b3c3925
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -5229,8 +5229,8 @@ function run() {
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
core.setFailed(err.message);
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -68,8 +68,8 @@ async function run(): Promise<void> {
|
||||
)
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
core.setFailed(err.message)
|
||||
} catch (error) {
|
||||
core.setFailed((error as Error).message)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user