Update packages/artifact/src/internal/shared/config.ts

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
Bethany
2023-08-09 10:30:44 -04:00
committed by GitHub
parent 24da3e2d1c
commit c6117995d3

View File

@@ -1,7 +1,7 @@
export function getRuntimeToken(): string {
const token = process.env['ACTIONS_RUNTIME_TOKEN']
if (!token) {
throw new Error('Unable to get ACTIONS_RUNTIME_TOKEN env variable')
throw new Error('Unable to get the ACTIONS_RUNTIME_TOKEN env variable')
}
return token
}