Skip to content

Commit d46261a

Browse files
test
1 parent 57644e5 commit d46261a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/spectral-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ permissions:
1919
contents: write
2020
id-token: write
2121
pull-requests: write
22+
actions: read
2223

2324
jobs:
2425
spectral-lint:

tools/spectral/ipa/rulesets/functions/IPA112AvoidProjectFieldNames.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const RULE_NAME = 'xgen-IPA-112-avoid-project-field-names';
1313
export default (input, options, { path, documentInventory }) => {
1414
const oas = documentInventory.resolved;
1515
const property = resolveObject(oas, path);
16-
console.log(input);
1716

1817
if (hasException(property, RULE_NAME)) {
1918
collectException(property, RULE_NAME, path);
@@ -51,6 +50,7 @@ function checkViolationsAndReturnErrors(input, options, path) {
5150

5251
return [];
5352
} catch (e) {
53+
console.log(e);
5454
handleInternalError(RULE_NAME, path, e);
5555
}
5656
}

0 commit comments

Comments
 (0)