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:
Logan Smyth 2019-08-15 16:28:51 +00:00
Родитель 00ed6331e2
Коммит 5980499fff
4 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -178,8 +178,6 @@ async function _setBreakpointPositions(cx, sourceId, line, thunkArgs) {
source: source, source: source,
positions, positions,
}); });
return positions;
} }
function generatedSourceActorKey(state, sourceId) { function generatedSourceActorKey(state, sourceId) {

Просмотреть файл

@ -124,8 +124,6 @@ async function loadSourceTextPromise(
await dispatch(addBreakpoint(cx, location, options, disabled)); await dispatch(addBreakpoint(cx, location, options, disabled));
} }
} }
return newSource;
} }
export function loadSourceById(cx: Context, sourceId: string) { export function loadSourceById(cx: Context, sourceId: string) {

Просмотреть файл

@ -34,8 +34,6 @@ async function doSetSymbols(cx, source, { dispatch, getState, parser }) {
if (symbols && symbols.framework) { if (symbols && symbols.framework) {
dispatch(updateTab(source, symbols.framework)); dispatch(updateTab(source, symbols.framework));
} }
return symbols;
} }
type Args = { cx: Context, source: Source }; type Args = { cx: Context, source: Source };

Просмотреть файл

@ -11,7 +11,7 @@ type MemoizableActionParams<Args, Result> = {
hasValue: (args: Args, thunkArgs: ThunkArgs) => boolean, hasValue: (args: Args, thunkArgs: ThunkArgs) => boolean,
getValue: (args: Args, thunkArgs: ThunkArgs) => Result, getValue: (args: Args, thunkArgs: ThunkArgs) => Result,
createKey: (args: Args, thunkArgs: ThunkArgs) => string, createKey: (args: Args, thunkArgs: ThunkArgs) => string,
action: (args: Args, thunkArgs: ThunkArgs) => Promise<Result>, action: (args: Args, thunkArgs: ThunkArgs) => Promise<mixed>,
}; };
/* /*