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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bc4a998ac2
commit
8223051905
@@ -10,6 +10,8 @@
|
|||||||
import electron from 'electron';
|
import electron from 'electron';
|
||||||
|
|
||||||
const _isProduction = !/node_modules[\\/]electron[\\/]/.test(
|
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,
|
process.execPath || electron.remote.process.execPath,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user