Skip to content

Commit

Permalink
Merge pull request #1 from DzePat/npmTestWindows
Browse files Browse the repository at this point in the history
Split asRelativePath on slash instead of path/sep
  • Loading branch information
PEZ committed Jan 22, 2024
2 parents 45889ca + 122d79e commit 75582cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .joyride/src/seatbelt/runner.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(ns seatbelt.runner
(:require ["vscode" :as vscode]
["path" :as path]
(:require ["vscode" :as vscode]
[clojure.string :as string]
[cljs.test]
[promesa.core :as p]))
Expand Down Expand Up @@ -101,7 +100,7 @@
(defn- uri->ns-symbol [uri]
(-> uri
(vscode/workspace.asRelativePath)
(string/split path/sep)
(string/split "/")
(->> (drop 2)
(string/join "."))
(string/replace "_" "-")
Expand Down

0 comments on commit 75582cd

Please sign in to comment.