Skip to content

Commit

Permalink
Fix small lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Aug 12, 2022
1 parent 9afa16f commit 9b24dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drafter/test/drafter/test_common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
(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})")

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

(defn await-completion
Expand Down

0 comments on commit 9b24dae

Please sign in to comment.