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:
Arthur E. Jones 2022-05-04 15:50:59 -05:00 committed by James Long
parent 25f4bb5557
commit a7efc82944

View file

@ -1,5 +1,6 @@
let config; let config;
try { try {
// @ts-expect-error TS2307: we expect this file may not exist
config = require('./config'); config = require('./config');
} catch (e) { } catch (e) {
let fs = require('fs'); let fs = require('fs');