File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ jobs:
138
138
let apiCallsFound = false;
139
139
140
140
if (changedFiles.includes('semantic-type.json')) {
141
- const exceptionStatuses = Object.keys(${{ toJSON(steps.apply-semantic-type.outputs) }} || {})
141
+ const semanticTypeStatuses = Object.keys(${{ toJSON(steps.apply-semantic-type.outputs) }} || {})
142
142
.filter(key => key.startsWith('status_code_'))
143
143
.map(key => ({
144
144
name: key.replace('status_code_', ''),
145
145
status: ${{ toJSON(steps.apply-semantic-type.outputs) }}[key]
146
146
}));
147
147
148
- exceptionStatuses .forEach(({name, status}) => {
148
+ semanticTypeStatuses .forEach(({name, status}) => {
149
149
apiCallsFound = true;
150
150
const success = status >= 200 && status < 300;
151
151
commentBody += `- Semantic Type (${name}): ${success ? '✅' : '❌'} ${status}\n`;
You can’t perform that action at this time.
0 commit comments