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 6c4ee34 commit 3bd73e9Copy full SHA for 3bd73e9
1 file changed
src/sentinel_fmt.sh
@@ -1,9 +1,11 @@
1
#!/bin/bash
2
3
+set -e
4
+
5
function sentinelFmt {
6
# Gather the output of `sentinel fmt`.
7
echo "fmt: info: checking if Sentinel files in ${stlWorkingDir} are correctly formatted"
- fmtOutput=$(sentinel fmt -check=true -write=false ${*} 2>&1)
8
+ fmtOutput=$(sentinel fmt -check=true -write=false ${*}/*.sentinel 2>&1)
9
fmtExitCode=${?}
10
11
# Exit code of 0 indicates success. Print the output and exit.
0 commit comments