mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 22:21:06 +08:00
Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
parent
c6117995d3
commit
760f3fd3d1
@ -9,7 +9,7 @@ export function getRuntimeToken(): string {
|
||||
export function getResultsServiceUrl(): string {
|
||||
const resultsUrl = process.env['ACTIONS_RESULTS_URL']
|
||||
if (!resultsUrl) {
|
||||
throw new Error('Unable to get ACTIONS_RESULTS_URL env variable')
|
||||
throw new Error('Unable to get the ACTIONS_RESULTS_URL env variable')
|
||||
}
|
||||
return resultsUrl
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user