Skip to content

Commit

Permalink
Merge pull request #67 from sailpoint-oss/Fix/prescript.js
Browse files Browse the repository at this point in the history
Fixed prescript.js to handle v3 workflowTrigger types
  • Loading branch information
christina-gagnon-sp authored Jul 15, 2024
2 parents 2e9e1be + a49bb1d commit 161d6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk-resources/prescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const fixFiles = function (myArray) {
fileOut = [];
}

if (file.includes(path.join("schemas","WorkflowTrigger.yaml"))) {
if (file.includes(path.join("schemas","WorkflowTrigger.yaml")) || file.includes(path.join("schemas","workflows","WorkflowTrigger.yaml"))) {
for (let line of rawDataArra) {
if (line.includes('oneOf')) {
line = line.replaceAll("oneOf:", "type: object")
Expand Down

0 comments on commit 161d6c6

Please sign in to comment.