Fix dependabot errors
I explicitly had to downgrade "@octokit/plugin-retry" to "^6.0.0". Other dependencies were upgraded.
This commit is contained in:
parent
f338ec87a3
commit
5f98c40063
1536 changed files with 52911 additions and 424849 deletions
11
node_modules/@actions/artifact/lib/internal/upload/upload-zip-specification.js
generated
vendored
11
node_modules/@actions/artifact/lib/internal/upload/upload-zip-specification.js
generated
vendored
|
|
@ -79,10 +79,11 @@ function getUploadZipSpecification(filesToZip, rootDirectory) {
|
|||
- file3.txt
|
||||
*/
|
||||
for (let file of filesToZip) {
|
||||
if (!fs.existsSync(file)) {
|
||||
const stats = fs.lstatSync(file, { throwIfNoEntry: false });
|
||||
if (!stats) {
|
||||
throw new Error(`File ${file} does not exist`);
|
||||
}
|
||||
if (!fs.statSync(file).isDirectory()) {
|
||||
if (!stats.isDirectory()) {
|
||||
// Normalize and resolve, this allows for either absolute or relative paths to be used
|
||||
file = (0, path_1.normalize)(file);
|
||||
file = (0, path_1.resolve)(file);
|
||||
|
|
@ -94,7 +95,8 @@ function getUploadZipSpecification(filesToZip, rootDirectory) {
|
|||
(0, path_and_artifact_name_validation_1.validateFilePath)(uploadPath);
|
||||
specification.push({
|
||||
sourcePath: file,
|
||||
destinationPath: uploadPath
|
||||
destinationPath: uploadPath,
|
||||
stats
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
|
@ -103,7 +105,8 @@ function getUploadZipSpecification(filesToZip, rootDirectory) {
|
|||
(0, path_and_artifact_name_validation_1.validateFilePath)(directoryPath);
|
||||
specification.push({
|
||||
sourcePath: null,
|
||||
destinationPath: directoryPath
|
||||
destinationPath: directoryPath,
|
||||
stats
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue