fix failing lint and test errors

This commit is contained in:
ddivad195
2024-01-30 16:13:51 +00:00
parent 06bd4f4498
commit 8d2cafe1d2
8 changed files with 13 additions and 20 deletions
Generated Vendored
+3 -3
View File
@@ -74543,9 +74543,9 @@ exports.readFileContents = readFileContents;
// Copy actions files from sourceDir to targetDir, excluding files and folders not relevant to the action
// Errors if the repo appears to not contain any action files, such as an action.yml file
function stageActionFiles(actionDir, targetDir) {
var actionYmlFound = false;
let actionYmlFound = false;
fs_extra_1.default.copySync(actionDir, targetDir, {
filter: (src, dest) => {
filter: (src) => {
const basename = path.basename(src);
if (basename === 'action.yml' || basename === 'action.yaml') {
actionYmlFound = true;
@@ -74849,7 +74849,7 @@ exports.run = run;
// In each case, the source event should produce a Semantic Version compliant tag representing the code to be packaged.
function parseSourceSemanticVersion() {
const event = github.context.eventName;
var semverTag = '';
let semverTag = '';
// Grab the raw tag
if (event === 'release')
semverTag = github.context.payload.release.tag_name;