Skip to content

Commit

Permalink
Should we actually do this change
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Dec 14, 2024
1 parent 01b04a4 commit 580c890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/files/defaultdata/swift/run
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ while [ $# -gt 0 ]; do
if [ "x${1%.swift}" != "x$1" ]; then
SOURCE="$1"
[ -z "$MAINSOURCE" ] && MAINSOURCE="$1"
if [ "x$SOURCE" = "x$MAINSOURCE" ] && [ "x$MAINSOURCE" != "xmain.swift" ]; then
if [ "$SOURCE" = "$MAINSOURCE" ] && [ "$MAINSOURCE" != "main.swift" ]; then
if [ -f "main.swift" ]; then
echo "main.swift exists but is not the main source; not allowed by Swift compiler"
exit 1
Expand Down

0 comments on commit 580c890

Please sign in to comment.