Skip to content

Commit 4ed4c7a

Browse files
committed
fix: 删除未使用的代码
1 parent c3e2456 commit 4ed4c7a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/src/router/save.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ module.exports = async function read({ body }) {
1010
}
1111

1212
try {
13-
const fileExists = fs.existsSync(path);
14-
1513
if (fs.existsSync(path)) {
1614
const stat = fs.statSync(path);
1715
if (!stat.isFile()) {

0 commit comments

Comments
 (0)