Skip to content

Commit

Permalink
chore(rulesets): fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkilcommins committed Sep 12, 2024
1 parent ff35105 commit 7b6e01f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
/test-harness/tests/
/packages/*/dist
/packages/rulesets/src/oas/schemas/validators.ts
/packages/rulesets/src/arazzo/schemas/validators.ts
/packages/*/CHANGELOG.md
packages/formatters/src/html/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function arazzoWorkflowDependsOnValidation(
// Check for uniqueness
if (seenWorkflows.has(dep)) {
results.push({
message: `Duplicate workflowId "${dep}" in dependsOn for workflow "${workflow.workflowId as string}".`,
message: `Duplicate workflowId "${dep}" in dependsOn for workflow "${workflow.workflowId}".`,
path: [...path, 'dependsOn', depIndex],
});
return;
Expand Down Expand Up @@ -74,7 +74,7 @@ export default function arazzoWorkflowDependsOnValidation(
// Check against locally defined workflows
if (!localWorkflowIds.has(dep)) {
results.push({
message: `WorkflowId "${dep}" not found in local Arazzo workflows "${workflow.workflowId as string}".`,
message: `WorkflowId "${dep}" not found in local Arazzo workflows "${workflow.workflowId}".`,
path: [...path, 'dependsOn', depIndex],
});
}
Expand Down

0 comments on commit 7b6e01f

Please sign in to comment.