Skip to content

Commit 36752ce

Browse files
Update tests/validate_devfile_schemas.sh
Co-authored-by: Michael Valdron <mvaldron@redhat.com>
1 parent 689d3bc commit 36752ce

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/validate_devfile_schemas.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ handle_additional_args() {
1010
case $1 in
1111
-s|--samples)
1212
SAMPLES="true"
13-
return 1
13+
echo 1
14+
return 0
1415
;;
1516
-v|--verbose)
1617
VERBOSE="true"
17-
return 1
18+
echo 1
19+
return 0
1820
;;
1921
*)
20-
return 0
22+
echo 0
23+
return 1
2124
;;
2225
esac
2326
}

0 commit comments

Comments
 (0)