From 8223051905f9a9f8f5a5e7dba20f232392e9911d Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 11 Aug 2021 11:02:10 -0700 Subject: [PATCH] Mute eslint rule Summary: A few drive-by changes ahead of the sustainathon. (More to come.) Reviewed By: mweststrate Differential Revision: D30247395 fbshipit-source-id: e707377a1169eb634a42f08c3d27fe3e065b63bb --- desktop/app/src/utils/isProduction.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/app/src/utils/isProduction.tsx b/desktop/app/src/utils/isProduction.tsx index 46aed04b7..aa468a783 100644 --- a/desktop/app/src/utils/isProduction.tsx +++ b/desktop/app/src/utils/isProduction.tsx @@ -10,6 +10,8 @@ import electron from 'electron'; const _isProduction = !/node_modules[\\/]electron[\\/]/.test( + // We only run this once and cache the output so this slow access is okay. + // eslint-disable-next-line no-restricted-properties process.execPath || electron.remote.process.execPath, );