Skip to content

Commit

Permalink
remove leading '^' from grep (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel authored Jul 10, 2024
1 parent b89f623 commit d38226b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainlink-testing-framework/mod-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
run: |
cd ${go_project_path}
# Extract the version of the package from go.mod
version=$(grep "^$package_name " go.mod | awk '{print $2}')
version=$(grep "$package_name " go.mod | awk '{print $2}')
echo "Found version: $version"
# Check if version is empty
if [ -z "$version" ]; then
Expand Down

0 comments on commit d38226b

Please sign in to comment.