mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 02:21:31 +00:00
Fix nested frontend detection in tfw.sh
This commit is contained in:
parent
1a2d0badde
commit
867727d1ed
@ -65,8 +65,8 @@ build_and_run_test()
|
||||
|
||||
run_frontend()
|
||||
{
|
||||
FRONTEND_IN_TEST="${TEST_PATH}/solvable/src/frontend"
|
||||
if [ -d "$FRONTEND_IN_TEST" ]
|
||||
FRONTEND_IN_TEST="${TEST_PATH}/solvable/frontend"
|
||||
if [ "$(find "$FRONTEND_IN_TEST" | wc -l)" -gt 2 ]
|
||||
then
|
||||
cd $FRONTEND_IN_TEST
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user