Skip to content

Commit 4e156f8

Browse files
authored
Merge pull request #45 from dimakis/fix_rules_script
Fix rules script
2 parents 7f7c1c7 + e238dc5 commit 4e156f8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

spectral/scripts/rules.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
echo "fetching kas-fleet-manager from main"
9-
mkdir -R .openapi
109
wget -P .openapi https://raw.githubusercontent.com/redhat-developer/app-services-sdk-js/main/.openapi/kas-fleet-manager.yaml
1110

1211
## TODO add more apis

spectral/src/functions/infoLicenseApache2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default (targetVal: any, _: any, context: any): IFunctionResult[] => {
77
if (!targetVal) {
88
return [
99
{
10-
message: "OpenAPI `license` object is required\n in path: ",
10+
message: "OpenAPI `license` object is required.",
1111
path: p
1212
}
1313
]

0 commit comments

Comments
 (0)