Skip to content

Commit

Permalink
Merge pull request #449 from thatismatt/master
Browse files Browse the repository at this point in the history
Arguments to open-file-command must be strings, not numeric.
  • Loading branch information
Bruce Hauman authored Jul 8, 2016
2 parents 825950a + 0378ea3 commit c346a65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sidecar/src/figwheel_sidecar/components/figwheel_server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
(when (not (nil? file-column))
(str ":" file-column))))
true (conj file-name))
[open-file-command file-name file-line file-column])))
;; must pass arguments to clojure.java.shell/sh as strings, not numeric values
[open-file-command file-name (str file-line) (str file-column)])))

(defn read-msg [data]
(try
Expand Down

0 comments on commit c346a65

Please sign in to comment.