fix(slug_url): remove ending hypen if any

This commit is contained in:
Romain Lespinasse
2022-06-15 15:48:10 +02:00
committed by GitHub
parent cb5f2aad22
commit cb3e46ca61
3 changed files with 12 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ jobs:
with:
key: ANOTHER_MAX_LENGTH
value: "Never gonna give you up Never gonna let you down"
slug-maxlength: 23
slug-maxlength: 24
- name: Validate // Slugify with another max length
run: |
[[ "${{ env.ANOTHER_MAX_LENGTH }}" == "Never gonna give you up Never gonna let you down" ]]