diff --git a/action.sh b/action.sh index 56ab59f..f2e1f8e 100755 --- a/action.sh +++ b/action.sh @@ -7,12 +7,10 @@ fi # Check if Dart & Flutter SDK is installed if [ ! "$(command -v flutter)" ]; then - echo '::warning::Flutter is not installed,' - echo 'Please use "uses: flutter-actions/setup-flutter@v4" to setup Dart & Flutter SDK.' + echo '::warning::Flutter is not installed, Please use "uses: flutter-actions/setup-flutter@v4" to setup Dart & Flutter SDK.' fi if [ ! "$(command -v dart)" ]; then - echo '::error::Dark is not installed' - echo 'Please use "uses: dart-lang/setup-dart@v1" or "uses: flutter-actions/setup-flutter@v4" to setup Dart or Flutter SDK.' + echo '::error::Dark is not installed, Please use "uses: dart-lang/setup-dart@v1" or "uses: flutter-actions/setup-flutter@v4" to setup Dart or Flutter SDK.' exit 1 fi