mirror of
https://github.com/placeholder-soft/asdf-plugins.git
synced 2026-04-24 03:55:07 +08:00
fix: use cut shortname flag for macos compat
This commit is contained in:
@@ -65,7 +65,7 @@ function check_plugin_from_file() {
|
||||
test -n "$README_LINE" ||
|
||||
fail "Expected a line at README.md with a link to ${PLUGIN_REPO_NO_GIT}"
|
||||
|
||||
BADGE_COLUMN="$(echo "${README_LINE}" | cut --delimiter='|' -f4)"
|
||||
BADGE_COLUMN="$(echo "${README_LINE}" | cut -d '|' -f4)"
|
||||
BADGE_URL="$(echo "${BADGE_COLUMN}" | badge_svg)"
|
||||
|
||||
# Assert that the badge has "pass" text in it, indicating the plugin is healthy
|
||||
|
||||
Reference in New Issue
Block a user