Skip to content

Commit

Permalink
fix: misuse of -f
Browse files Browse the repository at this point in the history
  • Loading branch information
Xerxes-2 committed May 23, 2024
1 parent 0f8bfab commit c179bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectdo
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ try_latex() {
# .NET

try_dotnet() {
if [ -f *.csproj ] || [ -f *.fsproj ] || [ -f *.sln ]; then
if [ -n "$(find . -maxdepth 1 \( -name '*.csproj' -o -name '*.fsproj' -o -name '*.sln' \) -print -quit)" ]; then
execute_command dotnet "$ACTION"
fi
}
Expand Down

0 comments on commit c179bab

Please sign in to comment.