Skip to content

Commit 3ebeb57

Browse files
committed
Support pyproject.toml when detecting Python apps
1 parent 8eb2954 commit 3ebeb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
BUILD_DIR=$1
1616

1717
# Exit early if app is clearly not Python.
18-
if [ ! -f "$BUILD_DIR/requirements.txt" ] && [ ! -f "$BUILD_DIR/setup.py" ] && [ ! -f "$BUILD_DIR/Pipfile" ]; then
18+
if [ ! -f "$BUILD_DIR/requirements.txt" ] && [ ! -f "$BUILD_DIR/setup.py" ] && [ ! -f "$BUILD_DIR/Pipfile" ] && [ ! -f "$BUILD_DIR/pyproject.toml" ]; then
1919
exit 1
2020
fi
2121

0 commit comments

Comments
 (0)