Skip to content

Commit 4f0bfe9

Browse files
committed
stop *-ing
1 parent dcd6553 commit 4f0bfe9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sentinel_fmt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
function sentinelFmt {
44
# Gather the output of `sentinel fmt`.
55
echo "fmt: info: checking if Sentinel files in ${stlWorkingDir} are correctly formatted"
6-
fmtOutput=$(sentinel fmt -check=true -write=false ${*}/*.sentinel 2>&1)
6+
fmtOutput=$(sentinel fmt -check=true -write=false ${*} 2>&1)
77
fmtExitCode=${?}
88

99
# Exit code of 0 indicates success. Print the output and exit.
@@ -27,7 +27,7 @@ function sentinelFmt {
2727
echo "${fmtOutput}"
2828
echo
2929
echo "fmt: error: the following files in ${stlWorkingDir} are incorrectly formatted"
30-
fmtFileList=$(sentinel fmt -check=true -write=false ${stlWorkingDir}/*.sentinel)
30+
fmtFileList=$(sentinel fmt -check=true -write=false ${stlWorkingDir})
3131
echo "${fmtFileList}"
3232
echo
3333

0 commit comments

Comments
 (0)