summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/actions/ast/setInScopeLines.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/src/actions/ast/setInScopeLines.js')
-rw-r--r--devtools/client/debugger/src/actions/ast/setInScopeLines.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/devtools/client/debugger/src/actions/ast/setInScopeLines.js b/devtools/client/debugger/src/actions/ast/setInScopeLines.js
index 72bd33b59f..5a76ab7f65 100644
--- a/devtools/client/debugger/src/actions/ast/setInScopeLines.js
+++ b/devtools/client/debugger/src/actions/ast/setInScopeLines.js
@@ -27,11 +27,7 @@ function getOutOfScopeLines(outOfScopeLocations) {
return uniqueLines;
}
-async function getInScopeLines(
- location,
- sourceTextContent,
- { dispatch, getState, parserWorker }
-) {
+async function getInScopeLines(location, sourceTextContent, { parserWorker }) {
let locations = null;
if (location.line && parserWorker.isLocationSupported(location)) {
locations = await parserWorker.findOutOfScopeLocations(location);