We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209e2f6 commit d777b09Copy full SHA for d777b09
scripts/check-sample-files.sh
@@ -18,8 +18,9 @@ for dir in ./samples/*/; do
18
# if there is a compose.yaml file, check if it is valid
19
(
20
cd $dir
21
- if ! defang compose config > /dev/null 2>/dev/null; then
22
- echo " - [ ] ${dir}compose.yaml contains errors"
+ output=$(defang compose config 2>&1)
+ if [[ $? -ne 0 ]]; then
23
+ echo " - [ ] ${dir}compose.yaml is not valid according to \`defang compose config\`: $output"
24
fi
25
)
26
0 commit comments