[fix] "empty.reduceLeft" error when no buildTools