mirror of https://github.com/actions/toolkit
Remove other debug statements
parent
0f23ae1184
commit
d02a834fe3
|
@ -67,6 +67,7 @@ export async function uploadArtifact(
|
||||||
'CreateArtifact: response from backend was not ok'
|
'CreateArtifact: response from backend was not ok'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
// Create the zipupload stream for use in blob upload
|
||||||
const zipUploadStream = await createZipUploadStream(
|
const zipUploadStream = await createZipUploadStream(
|
||||||
zipSpecification,
|
zipSpecification,
|
||||||
options?.compressionLevel
|
options?.compressionLevel
|
||||||
|
|
|
@ -51,7 +51,6 @@ export async function createZipUploadStream(
|
||||||
createReadStream(file.sourcePath),
|
createReadStream(file.sourcePath),
|
||||||
{name: file.destinationPath},
|
{name: file.destinationPath},
|
||||||
function (err, entry) {
|
function (err, entry) {
|
||||||
core.info(`Entry is: ${entry}`)
|
|
||||||
if (err) reject(err)
|
if (err) reject(err)
|
||||||
else resolve(entry)
|
else resolve(entry)
|
||||||
}
|
}
|
||||||
|
@ -62,7 +61,6 @@ export async function createZipUploadStream(
|
||||||
null,
|
null,
|
||||||
{name: `${file.destinationPath}/`},
|
{name: `${file.destinationPath}/`},
|
||||||
function (err, entry) {
|
function (err, entry) {
|
||||||
core.info(`Entry is: ${entry}`)
|
|
||||||
if (err) reject(err)
|
if (err) reject(err)
|
||||||
else resolve(entry)
|
else resolve(entry)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue