From 4e5911b9a688f1dcb9a1d7ca510aaa74fafb63a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=20M=C3=B6sch?= Date: Fri, 3 Jan 2025 19:37:52 +0100 Subject: [PATCH] Change wording (#5933) --- tools/oss-check | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/oss-check b/tools/oss-check index f1d0a05ca8..3e963c53d9 100755 --- a/tools/oss-check +++ b/tools/oss-check @@ -78,7 +78,7 @@ class Repo percent_change *= -1 end "Linting #{self} with this PR took #{@branch_duration}s " \ - "vs #{@main_duration}s on main (#{percent_change.to_i}\% #{faster_slower})" + "vs #{@main_duration}s on main (#{percent_change.to_i}\% #{faster_slower})." end end @@ -234,8 +234,8 @@ def diff_and_report_changes_to_danger @repos.each do |repo| if repo.main_exit_value != repo.branch_exit_value - warn "This PR changed the exit value when running on #{repo.name}: " \ - "(#{repo.main_exit_value} to #{repo.branch_exit_value})" + warn "This PR changed the exit value from #{repo.main_exit_value} to #{repo.branch_exit_value} when " \ + "running on #{repo.name}." # If the exit value changed, don't show the fixes or regressions for this # repo because it's likely due to a crash, and all violations would be noisy next @@ -334,7 +334,7 @@ unless @options[:force] full_version_main = `#{@working_dir}/builds/swiftlint-main version --verbose` if full_version_branch == full_version_main - message "Skipping OSSCheck because SwiftLint hasn't changed compared to 'main'" + message "Skipping OSSCheck because SwiftLint hasn't changed compared to 'main'." # Clean up clean_up unless @options[:skip_clean] exit