fix(slug_url): remove ending hypen if any

This commit is contained in:
Romain Lespinasse
2022-06-15 16:06:49 +02:00
committed by GitHub
parent 930d4521cc
commit 4e258f56ef
3 changed files with 14 additions and 9 deletions

View File

@@ -18,6 +18,7 @@ Produce some `slug`-ed environment variables based on the input one.
- `<env name>_SLUG_URL` (or `<env name>_SLUG_URL_CS`)
- like `<env name>_SLUG` (or `<env name>_SLUG_CS`) with the `.`, and `_` characters also replaced by `-`
- will not end with `-`
## Usage