Skip to content

Commit c346a65

Browse files
author
Bruce Hauman
authored
Merge pull request #449 from thatismatt/master
Arguments to open-file-command must be strings, not numeric.
2 parents 825950a + 0378ea3 commit c346a65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sidecar/src/figwheel_sidecar/components/figwheel_server.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
(when (not (nil? file-column))
3333
(str ":" file-column))))
3434
true (conj file-name))
35-
[open-file-command file-name file-line file-column])))
35+
;; must pass arguments to clojure.java.shell/sh as strings, not numeric values
36+
[open-file-command file-name (str file-line) (str file-column)])))
3637

3738
(defn read-msg [data]
3839
(try

0 commit comments

Comments
 (0)