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 dcd6553 commit 4f0bfe9Copy full SHA for 4f0bfe9
1 file changed
src/sentinel_fmt.sh
@@ -3,7 +3,7 @@
3
function sentinelFmt {
4
# Gather the output of `sentinel fmt`.
5
echo "fmt: info: checking if Sentinel files in ${stlWorkingDir} are correctly formatted"
6
- fmtOutput=$(sentinel fmt -check=true -write=false ${*}/*.sentinel 2>&1)
+ fmtOutput=$(sentinel fmt -check=true -write=false ${*} 2>&1)
7
fmtExitCode=${?}
8
9
# Exit code of 0 indicates success. Print the output and exit.
@@ -27,7 +27,7 @@ function sentinelFmt {
27
echo "${fmtOutput}"
28
echo
29
echo "fmt: error: the following files in ${stlWorkingDir} are incorrectly formatted"
30
- fmtFileList=$(sentinel fmt -check=true -write=false ${stlWorkingDir}/*.sentinel)
+ fmtFileList=$(sentinel fmt -check=true -write=false ${stlWorkingDir})
31
echo "${fmtFileList}"
32
33
0 commit comments