npe guard
This commit is contained in:
parent
f5be86e1d2
commit
fb164d3b01
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class FaroHelper {
|
|||
faro: Faro;
|
||||
|
||||
initializeFaro() {
|
||||
const enabled = process.env['FARO_ENABLED'].toLowerCase();
|
||||
const enabled = process.env['FARO_ENABLED']?.toLowerCase();
|
||||
const faroConfig: FaroConfig = {
|
||||
url: process.env['FARO_URL'],
|
||||
apiKey: process.env['FARO_API_KEY'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue