Skip to content

Commit

Permalink
Add more verbose log output
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Jun 3, 2024
1 parent 696723c commit a312332
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ async function main() {
return
}

core.group("pubspec.yaml", () => {
if (Pubspec.environment.sdk) core.info(` - Dart SDK version: ${Pubspec.environment.sdk}`)
if (Pubspec.environment.flutter) core.info(` - Flutter SDK version: ${Pubspec.environment.flutter}`)
await core.group("pubspec.yaml", () => {
if (Pubspec.environment.sdk) core.info(`- Dart SDK version: ${Pubspec.environment.sdk}`)
if (Pubspec.environment.flutter) core.info(`- Flutter SDK version: ${Pubspec.environment.flutter}`)
})

// Download the Flutter release manifest
Expand Down Expand Up @@ -106,7 +106,7 @@ async function main() {
__message += `, Dart SDK version: (v${release.version})`
}

core.info(__message)
core.info(`${__message} the version satisfies the constraints in the pubspec.yaml file`)
__message = "" // Reset the message
}
})
Expand Down

0 comments on commit a312332

Please sign in to comment.