Skip to content

Commit

Permalink
use process.cwd() ; alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Nov 11, 2021
1 parent af38873 commit adc4f90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -4721,7 +4721,9 @@
|T $ {} (:type :expr) (:by |root) (:at 1542180609226) (:id |oOubxqa5FB)
:data $ {}
|T $ {} (:type :leaf) (:by |root) (:at 1542180608897) (:text |base) (:id |5Imb6ja4WF)
|j $ {} (:type :leaf) (:by |root) (:at 1542180619413) (:text |js/process.env.PWD) (:id |R4mip9SqD)
|j $ {} (:type :expr) (:by |B1y7Rc-Zz) (:at 1636629627499)
:data $ {}
|T $ {} (:type :leaf) (:by |B1y7Rc-Zz) (:at 1636629666626) (:text |js/process.cwd) (:id |R4mip9SqD)
|j $ {} (:type :expr) (:by |root) (:at 1542180623195) (:id |_jVTTLukIO)
:data $ {}
|T $ {} (:type :leaf) (:by |root) (:at 1542180628212) (:text |en-file) (:id |_jVTTLukIOleaf)
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": "@jimengio/locales-editor",
"version": "0.2.26-a1",
"version": "0.2.26-a2",
"description": "Cumulo Workflow",
"main": "index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/locales.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
(fs/writeFile filepath content (fn [err] (if (some? err) (js/console.error err)))))

(defn generate-files! [db]
(let [base js/process.env.PWD
(let [base (js/process.cwd)
en-file (.join path base "en-us.ts")
zh-file (.join path base "zh-cn.ts")
interface-file (.join path base "interface.ts")
Expand Down

0 comments on commit adc4f90

Please sign in to comment.