Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cocktailpeanut committed Mar 17, 2023
1 parent 37daa20 commit efa3422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ class Dalai {
////////////////////////////////////////////////////////////////////////////////////////////////////////////
this.home = home ? path.resolve(home) : path.resolve(os.homedir(), "dalai")
try {
console.log("mkdir", this.home)
fs.mkdirSync(this.home, { recursive: true })
} catch (e) { }
} catch (e) {
console.log("E", e)
}

this.config = {
name: 'xterm-color',
cols: 200,
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": "dalai",
"version": "0.2.13",
"version": "0.2.19",
"description": "",
"main": "index.js",
"author": "cocktailpeanut",
Expand Down

0 comments on commit efa3422

Please sign in to comment.