Skip to content

Commit fd141cf

Browse files
feat: test commit to fail json schema tests
1 parent f7e800e commit fd141cf

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

examples/catch-all/src/bashly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ catch_all: true
88
args:
99
- name: message
1010
required: true
11-
help: Message
11+
default: [""]
12+
x_a:
1213

1314
flags:
1415
- long: --debug

schemas/bashly.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,7 @@
4141
"default": {
4242
"title": "default",
4343
"description": "A default value of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#default",
44-
"oneOf": [
45-
{
46-
"type": "string"
47-
},
48-
{
49-
"type": "array",
50-
"minItems": 1,
51-
"items": {
52-
"type": "string"
53-
}
54-
}
55-
],
44+
"type": "string",
5645
"examples": [
5746
"*.jpg"
5847
]

0 commit comments

Comments
 (0)