Skip to content

Commit e60ee0e

Browse files
authored
Merge pull request Expensify#67081 from DylanDylann/create-new-log
[No QA]: Remove Onyx.connect() for the key: ONYXKEYS.SHOULD_STORE_LOGS in src/libs/Log.ts
2 parents 1e6390b + 03f2d81 commit e60ee0e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"test:debug": "TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand",
4747
"perf-test": "NODE_OPTIONS=--experimental-vm-modules npx reassure",
4848
"typecheck": "NODE_OPTIONS=--max_old_space_size=8192 tsc",
49-
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=330 --cache --cache-location=node_modules/.cache/eslint",
49+
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=326 --cache --cache-location=node_modules/.cache/eslint",
5050
"lint-changed": "NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh",
5151
"lint-watch": "npx eslint-watch --watch --changed",
5252
"shellcheck": "./scripts/shellCheck.sh",

src/libs/Log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import requireParameters from './requireParameters';
1818
let timeout: NodeJS.Timeout;
1919
let shouldCollectLogs = false;
2020

21-
Onyx.connect({
21+
Onyx.connectWithoutView({
2222
key: ONYXKEYS.SHOULD_STORE_LOGS,
2323
callback: (val) => {
2424
if (!val) {

0 commit comments

Comments
 (0)