debug the directory

This commit is contained in:
John Sudol 2022-12-09 20:03:35 +00:00 committed by GitHub
parent 734c3adc09
commit 52ebfde634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export function getUploadSpecification(
): UploadSpecification[] {
// artifact name was checked earlier on, no need to check again
const specifications: UploadSpecification[] = []
debug(rootDirectory)
if (!fs.existsSync(rootDirectory)) {
throw new Error(`Provided rootDirectory ${rootDirectory} does not exist`)
}