mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 12:19:07 +08:00
.
This commit is contained in:
parent
9e67f6e707
commit
fe6f73865e
@ -22,7 +22,7 @@ export function getUploadSpecification(
|
|||||||
// artifact name was checked earlier on, no need to check again
|
// artifact name was checked earlier on, no need to check again
|
||||||
const specifications: UploadSpecification[] = []
|
const specifications: UploadSpecification[] = []
|
||||||
|
|
||||||
const rootPath = toNamespacedPath(rootDirectory)
|
const rootPath = join(rootDirectory)
|
||||||
|
|
||||||
if (!fs.existsSync(rootPath)) {
|
if (!fs.existsSync(rootPath)) {
|
||||||
throw new Error(`Provided rootDirectory ${rootPath} does not exist`)
|
throw new Error(`Provided rootDirectory ${rootPath} does not exist`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user