Skip to content

Commit

Permalink
style(analyze): Adjusts cli output messages and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
luistak committed Jan 23, 2025
1 parent 6431aa0 commit 326f968
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class CloudInteractor(
): Int {
val authToken = getAuthToken(apiKey)

PrintUtils.info("\uD83D\uDD0E Analyzing Flow(s)...\n")
PrintUtils.info("\n\uD83D\uDD0E Analyzing Flow(s)...")

try {
val response = client.analyze(authToken, flowFiles)
Expand All @@ -518,7 +518,7 @@ class CloudInteractor(
val outputFilePath = HtmlInsightsAnalysisReporter().report(response.output, debugOutputPath)
val os = System.getProperty("os.name").lowercase(Locale.getDefault())

PrintUtils.message(
PrintUtils.success(
listOf(
"To view the report, open the following link in your browser:",
"file:${if (os.contains("win")) "///" else "//"}${outputFilePath}\n",
Expand Down

0 comments on commit 326f968

Please sign in to comment.