From 41a7598ad42768c8b295af881604c6f52bc548f3 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Thu, 18 Jul 2019 16:40:01 +0200 Subject: [PATCH] code quality --- src/wanijo/tag/forms.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wanijo/tag/forms.clj b/src/wanijo/tag/forms.clj index 4d918c4..c3eb4bd 100644 --- a/src/wanijo/tag/forms.clj +++ b/src/wanijo/tag/forms.clj @@ -6,8 +6,7 @@ (re-matches #".*\s.*" s)) (defn tag-names-from-input [s] - (->> (split s #",") - (map trim))) + (map trim (split s #","))) (defn any-tag-name-contains-whitespace [s] (some contains-whitespace? (tag-names-from-input s)))