Skip to content

Commit

Permalink
fix: format error
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo-shen committed Dec 28, 2023
1 parent f3d4920 commit acdc7f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"preview": "vite preview",
"check": "vue-tsc --noEmit",
"lint": "eslint --cache --max-warnings 0 .",
"format-check": "prettier --check --cache \"**/*.[tj]s?(x)\""
"format-check": "prettier --check --cache \"**/*.[tj]s?(x)\"",
"format": "prettier -w --cache \"**/*.[tj]s?(x)\""
},
"dependencies": {
"@unocss/reset": "^0.58.0",
Expand Down
4 changes: 1 addition & 3 deletions src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ class VantReplStore extends ReplStore {
}
}
const store = new VantReplStore({
serializedState: userFiles
? userFiles
: utoa(JSON.stringify(_files)),
serializedState: userFiles ? userFiles : utoa(JSON.stringify(_files)),
});
export default store;

0 comments on commit acdc7f9

Please sign in to comment.