mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
fix: eslint unused error
This commit is contained in:
1 parent
455fde41ab
commit
27b6096633
2 files changed
+3
-3
No files matched your search
@@ -26,7 +26,7 @@ const api = axios.create({
|
||||
async function readOrNone(file) {
|
||||
try {
|
||||
return await fs.readFile(file, 'utf8')
|
||||
} catch (err) {
|
||||
} catch (_) {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user