Skip to content

Commit 3ec7e8e

Browse files
committed
test
1 parent 8bbc874 commit 3ec7e8e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"**/*.{js,jsx,ts,tsx,json,md}": ["prettier --write"],
3-
"**/*.js": ["jest --findRelatedTests --passWithNoTests"],
3+
"**/*.js": ["jest --findRelatedTests --passWithNoTests"]
44
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ const RULE_NAME = 'xgen-IPA-104-resource-has-GET';
1212
const ERROR_MESSAGE = 'APIs must provide a get method for resources.';
1313

1414
export default (input, _, { path, documentInventory }) => {
15-
if (!isResourceCollectionIdentifier(input)) {
16-
return;
17-
}
15+
if (!isResourceCollectionIdentifier(input)) {
16+
return;
17+
18+
}
1819

1920
const oas = documentInventory.resolved;
2021

0 commit comments

Comments
 (0)