Skip to content

Commit

Permalink
prefer using process.cwd for compatibility; tag 0.5.32
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Oct 20, 2021
1 parent 127667b commit 515fe4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -36975,16 +36975,13 @@
|r $ {} (:type :expr) (:by |root) (:at 1546165265053)
:data $ {}
|T $ {} (:type :leaf) (:by |root) (:at 1546165265053) (:text |path/join)
|j $ {} (:type :expr) (:by |root) (:at 1546165798078)
:data $ {}
|D $ {} (:type :leaf) (:by |root) (:at 1546165799184) (:text |..)
|T $ {} (:type :leaf) (:by |root) (:at 1546165808126) (:text |js/process)
|j $ {} (:type :leaf) (:by |root) (:at 1546165802651) (:text |-env)
|r $ {} (:type :leaf) (:by |root) (:at 1546165804637) (:text |-PWD)
|r $ {} (:type :expr) (:by |root) (:at 1546165265053)
:data $ {}
|T $ {} (:type :leaf) (:by |root) (:at 1546165265053) (:text |:storage-file)
|j $ {} (:type :leaf) (:by |root) (:at 1546165265053) (:text |config/site)
|n $ {} (:type :expr) (:by |S1lNv50FW) (:at 1634700218473)
:data $ {}
|T $ {} (:type :leaf) (:by |S1lNv50FW) (:at 1634700312186) (:text |js/process.cwd)
|initial-db $ {} (:type :expr) (:by |root) (:at 1546165527792)
:data $ {}
|T $ {} (:type :leaf) (:by |root) (:at 1546165527792) (:text |defonce)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calcit-editor",
"version": "0.5.31",
"version": "0.5.32",
"description": "Cirru Calcit Editor",
"bin": {
"calcit-editor": "dist/server.js",
Expand Down
2 changes: 1 addition & 1 deletion src/app/server.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

(defonce *client-caches (atom {}))

(def storage-file (path/join (.. js/process -env -PWD) (:storage-file config/site)))
(def storage-file (path/join (js/process.cwd) (:storage-file config/site)))

(defonce initial-db
(merge
Expand Down

0 comments on commit 515fe4a

Please sign in to comment.