Skip to content

Commit cbd83a0

Browse files
committed
Fix small lint warning
1 parent a25a023 commit cbd83a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drafter/test/drafter/test_common.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
(def job-id-path #"/v1/status/finished-jobs/([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})")
293293

294294
(defn job-path->job-id [job-path]
295-
(if-let [uid (second (re-matches job-id-path job-path))]
295+
(when-let [uid (second (re-matches job-id-path job-path))]
296296
(UUID/fromString uid)))
297297

298298
(defn await-completion

0 commit comments

Comments
 (0)