Skip to content

Commit

Permalink
fix the comments and logs
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Jun 12, 2024
1 parent b4135e3 commit c276b73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions get-modified-packages/get-modified-packages.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Search for packages that have been modified from the base branch.
# Usage: get-modified-packages.sh <base_branch>
# Search for packages that have been modified from the base sha.
# Usage: get-modified-packages.sh <base_sha>

set -e

Expand All @@ -19,7 +19,7 @@ base_sha="${args[0]}"

# Check args
if [ "$base_sha" = "" ]; then
echo -e "\e[31mPlease input a valid base_branch as the 1st argument.\e[m"
echo -e "\e[31mPlease input a valid base_sha as the 1st argument.\e[m"
exit 1
fi

Expand Down Expand Up @@ -49,7 +49,7 @@ function find_package_dir() {
return 1
}

# Find modified files from base branch
# Find modified files from base sha
modified_files=$(git diff --name-only "$base_sha"...HEAD)

# Find modified packages
Expand Down

0 comments on commit c276b73

Please sign in to comment.