diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-10 02:27:27 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-10 02:27:27 +0200 |
commit | 4044d9753da11e7e66234621f52b3dcd04f73b41 (patch) | |
tree | e674df9e7377b0de6073147a0c1a33ce0754592d /skate/cmd/skate-cleanup | |
parent | ea784a826b6d0160575121f245675086b3dfc130 (diff) | |
download | refcat-4044d9753da11e7e66234621f52b3dcd04f73b41.tar.gz refcat-4044d9753da11e7e66234621f52b3dcd04f73b41.zip |
url: trim prefix
Diffstat (limited to 'skate/cmd/skate-cleanup')
-rw-r--r-- | skate/cmd/skate-cleanup/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-cleanup/main.go b/skate/cmd/skate-cleanup/main.go index 033b0bc..72b258a 100644 --- a/skate/cmd/skate-cleanup/main.go +++ b/skate/cmd/skate-cleanup/main.go @@ -40,7 +40,7 @@ var ( func main() { flag.Parse() for _, v := range strings.Split(*allow, ",") { - allowedSchemas = append(allowedSchemas, v) + allowedSchemas = append(allowedSchemas, strings.TrimSpace(v)) } var f func([]byte) ([]byte, error) switch *what { |