screwdriver-config-parser
Advanced tools
Comparing version 8.0.2 to 8.0.3
@@ -558,3 +558,3 @@ 'use strict'; | ||
function getTeardownRequires(jobs, stageName) { | ||
const stageJobsRequires = []; | ||
let stageJobsRequires = []; | ||
const stageJobNames = []; | ||
@@ -567,3 +567,3 @@ | ||
if (Array.isArray(jobs[jobName].requires)) { | ||
stageJobsRequires.concat(jobs[jobName].requires); | ||
stageJobsRequires = stageJobsRequires.concat(jobs[jobName].requires); | ||
} else { | ||
@@ -577,7 +577,5 @@ stageJobsRequires.push(jobs[jobName].requires); | ||
// Get terminal nodes | ||
const teardownRequires = stageJobNames.filter( | ||
return stageJobNames.filter( | ||
jobName => !stageJobsRequires.includes(jobName) && !stageJobsRequires.includes(`~${jobName}`) | ||
); | ||
return teardownRequires; | ||
} | ||
@@ -584,0 +582,0 @@ |
{ | ||
"name": "screwdriver-config-parser", | ||
"version": "8.0.2", | ||
"version": "8.0.3", | ||
"description": "Node module for parsing screwdriver.yaml configurations", | ||
@@ -59,6 +59,6 @@ "main": "index.js", | ||
"keymbinatorial": "^2.0.0", | ||
"screwdriver-data-schema": "^22.0.0", | ||
"screwdriver-data-schema": "^22.7.1", | ||
"screwdriver-notifications-email": "^3.0.1", | ||
"screwdriver-notifications-slack": "^5.0.0", | ||
"screwdriver-workflow-parser": "^4.0.0", | ||
"screwdriver-workflow-parser": "^4.1.0", | ||
"shell-escape": "^0.2.0", | ||
@@ -65,0 +65,0 @@ "tinytim": "^0.1.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56185
1219