We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f30d5 commit 25c8769Copy full SHA for 25c8769
core/cb.project/java/detector.sh
@@ -11,7 +11,7 @@ if [ $? = 0 ]; then
11
fi
12
13
WORKSPACE=$1
14
-entry_point=$(${FGREP} " main(" -R ${WORKSPACE} | tr ':' '\n' | grep ".java" | head -n 1)
+entry_point=$(${FGREP} " public static void main" -R ${WORKSPACE} | tr ':' '\n' | grep ".java" | head -n 1)
15
16
if [ -f "$entry_point" ]; then
17
echo "Java" && exit 0
0 commit comments