1
0
Fork 0

adding error checks

pull/1700/head
Vallie Joseph 2024-04-01 15:07:28 +00:00
parent dea3595881
commit 2c4f0f555e
2 changed files with 4 additions and 2 deletions

View File

@ -50,6 +50,7 @@ export async function createZipUploadStream(
createReadStream(file.sourcePath),
{name: file.destinationPath},
function (err, entry) {
core.debug(`${err}`)
if (err) reject(err)
else resolve(entry)
}
@ -60,6 +61,7 @@ export async function createZipUploadStream(
null,
{name: `${file.destinationPath}/`},
function (err, entry) {
core.debug(`${err}`)
if (err) reject(err)
else resolve(entry)
}

View File

@ -1,12 +1,12 @@
{
"name": "@actions/attest",
"version": "1.0.0",
"version": "1.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@actions/attest",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",