Skip to content

Commit 3bd73e9

Browse files
committed
echo debugging
1 parent 6c4ee34 commit 3bd73e9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/sentinel_fmt.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

3+
set -e
4+
35
function sentinelFmt {
46
# Gather the output of `sentinel fmt`.
57
echo "fmt: info: checking if Sentinel files in ${stlWorkingDir} are correctly formatted"
6-
fmtOutput=$(sentinel fmt -check=true -write=false ${*} 2>&1)
8+
fmtOutput=$(sentinel fmt -check=true -write=false ${*}/*.sentinel 2>&1)
79
fmtExitCode=${?}
810

911
# Exit code of 0 indicates success. Print the output and exit.

0 commit comments

Comments
 (0)