mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
fix: suppress missing module error
- code as written expects the file may be absent and has a fallback implemented, so the error can be safely ignored. There may be a better strategy for dealing with this, however.
This commit is contained in:
committed by
James Long
parent
25f4bb5557
commit
a7efc82944
@@ -1,5 +1,6 @@
|
||||
let config;
|
||||
try {
|
||||
// @ts-expect-error TS2307: we expect this file may not exist
|
||||
config = require('./config');
|
||||
} catch (e) {
|
||||
let fs = require('fs');
|
||||
|
||||
Reference in New Issue
Block a user