Skip to content

Commit

Permalink
fix incorrect type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
lread committed Aug 13, 2024
1 parent 8b0c07c commit 9ce2ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/etaoin/unit/proc_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
[etaoin.impl.proc :as proc]
[etaoin.impl.util :as util]
[etaoin.test-report])
(:import (java.lang ProcessHandle Process)))
(:import (java.lang ProcessHandle)))

(defn all-processes []
(for [^Process p (-> (ProcessHandle/allProcesses) .iterator iterator-seq)
(for [^ProcessHandle p (-> (ProcessHandle/allProcesses) .iterator iterator-seq)
:when (some-> p .info .command .isPresent)
:let [info (.info p)
command (-> info .command .get)
Expand Down

0 comments on commit 9ce2ea9

Please sign in to comment.