diff --git a/package.json b/package.json index b845195a8961..de8d062b0e3e 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "test:debug": "TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand", "perf-test": "NODE_OPTIONS=--experimental-vm-modules npx reassure", "typecheck": "NODE_OPTIONS=--max_old_space_size=8192 tsc", - "lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=330 --cache --cache-location=node_modules/.cache/eslint", + "lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=326 --cache --cache-location=node_modules/.cache/eslint", "lint-changed": "NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh", "lint-watch": "npx eslint-watch --watch --changed", "shellcheck": "./scripts/shellCheck.sh", diff --git a/src/libs/Log.ts b/src/libs/Log.ts index 4d133412ce68..ffed5fa3aa9c 100644 --- a/src/libs/Log.ts +++ b/src/libs/Log.ts @@ -18,7 +18,7 @@ import requireParameters from './requireParameters'; let timeout: NodeJS.Timeout; let shouldCollectLogs = false; -Onyx.connect({ +Onyx.connectWithoutView({ key: ONYXKEYS.SHOULD_STORE_LOGS, callback: (val) => { if (!val) {