mirror of https://github.com/actions/toolkit
debug the directory
parent
734c3adc09
commit
52ebfde634
|
@ -21,7 +21,7 @@ export function getUploadSpecification(
|
||||||
): UploadSpecification[] {
|
): UploadSpecification[] {
|
||||||
// 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[] = []
|
||||||
|
debug(rootDirectory)
|
||||||
if (!fs.existsSync(rootDirectory)) {
|
if (!fs.existsSync(rootDirectory)) {
|
||||||
throw new Error(`Provided rootDirectory ${rootDirectory} does not exist`)
|
throw new Error(`Provided rootDirectory ${rootDirectory} does not exist`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue