File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 6666 "minLength" : 1 ,
6767 "default" : " lib"
6868 },
69+ "commands_dir" : {
70+ "title" : " commands dir" ,
71+ "description" : " A directory to nested command files of the current script" ,
72+ "oneOf" : [
73+ {
74+ "type" : " null"
75+ },
76+ {
77+ "type" : " string" ,
78+ "minLength" : 1
79+ }
80+ ]
81+ },
6982 "strict" : {
7083 "title" : " strict" ,
71- "description" : " Bash initialiation options of the current script" ,
84+ "description" : " Bash initialization options of the current script" ,
7285 "oneOf" : [
7386 {
7487 "type" : " boolean"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ action :examples do
77 command = "check-jsonschema --schemafile schemas/bashly.json #{file}"
88 say "\n$ check-jsonschema bb`#{example.dir}`"
99 success = system command
10- exit 1 unless success
10+ abort 'Failed' unless success
1111 end
1212end
1313
@@ -17,7 +17,7 @@ action :settings do
1717 command = "check-jsonschema --schemafile schemas/settings.json #{file}"
1818 say "\n$ check-jsonschema bb`#{file}`"
1919 success = system command
20- exit 1 unless success
20+ abort 'Failed' unless success
2121end
2222
2323help 'Test the strings schema against the default strings template'
@@ -26,5 +26,5 @@ action :strings do
2626 command = "check-jsonschema --schemafile schemas/strings.json #{file}"
2727 say "\n$ check-jsonschema bb`#{file}`"
2828 success = system command
29- exit 1 unless success
29+ abort 'Failed' unless success
3030end
You can’t perform that action at this time.
0 commit comments