Skip to content

Commit 6957c7a

Browse files
committed
Recreate redux-devtools-trace-monitor patch
1 parent f6aac65 commit 6957c7a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

patches/redux-devtools-trace-monitor+0.1.1.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
diff --git a/node_modules/redux-devtools-trace-monitor/lib/openFile.js b/node_modules/redux-devtools-trace-monitor/lib/openFile.js
2-
index 3d6cc6a..e4d1f87 100644
2+
index 3d6cc6a..5bb3434 100644
33
--- a/node_modules/redux-devtools-trace-monitor/lib/openFile.js
44
+++ b/node_modules/redux-devtools-trace-monitor/lib/openFile.js
55
@@ -97,33 +97,5 @@ function openInEditor(editor, path, stackFrame) {
66
}
7-
7+
88
function openFile(fileName, lineNumber, stackFrame) {
99
- if (process.env.NODE_ENV === 'development') // eslint-disable-next-line no-console
1010
- console.log(fileName, lineNumber, stackFrame);
@@ -35,5 +35,6 @@ index 3d6cc6a..e4d1f87 100644
3535
- }
3636
- }
3737
- });
38-
+ window.openInEditor(fileName, lineNumber)
38+
+ window.openInEditor && window.openInEditor(fileName, lineNumber);
3939
}
40+
\ No newline at end of file

0 commit comments

Comments
 (0)