mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1541631 - Part 6: Remove unused action return values. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42031 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
463cc14e60
commit
bab62aad61
@ -178,8 +178,6 @@ async function _setBreakpointPositions(cx, sourceId, line, thunkArgs) {
|
||||
source: source,
|
||||
positions,
|
||||
});
|
||||
|
||||
return positions;
|
||||
}
|
||||
|
||||
function generatedSourceActorKey(state, sourceId) {
|
||||
|
@ -124,8 +124,6 @@ async function loadSourceTextPromise(
|
||||
await dispatch(addBreakpoint(cx, location, options, disabled));
|
||||
}
|
||||
}
|
||||
|
||||
return newSource;
|
||||
}
|
||||
|
||||
export function loadSourceById(cx: Context, sourceId: string) {
|
||||
|
@ -34,8 +34,6 @@ async function doSetSymbols(cx, source, { dispatch, getState, parser }) {
|
||||
if (symbols && symbols.framework) {
|
||||
dispatch(updateTab(source, symbols.framework));
|
||||
}
|
||||
|
||||
return symbols;
|
||||
}
|
||||
|
||||
type Args = { cx: Context, source: Source };
|
||||
|
@ -11,7 +11,7 @@ type MemoizableActionParams<Args, Result> = {
|
||||
hasValue: (args: Args, thunkArgs: ThunkArgs) => boolean,
|
||||
getValue: (args: Args, thunkArgs: ThunkArgs) => Result,
|
||||
createKey: (args: Args, thunkArgs: ThunkArgs) => string,
|
||||
action: (args: Args, thunkArgs: ThunkArgs) => Promise<Result>,
|
||||
action: (args: Args, thunkArgs: ThunkArgs) => Promise<mixed>,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user