We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cafb3 commit df4b2b7Copy full SHA for df4b2b7
src/sfCommand.ts
@@ -399,12 +399,14 @@ export abstract class SfCommand<T> extends Command {
399
throw sfCommandError;
400
}
401
402
- // eslint-disable-next-line @typescript-eslint/require-await
403
- protected async finally(): Promise<void> {
+ // eslint-disable-next-line @typescript-eslint/require-await, @typescript-eslint/no-explicit-any
+ protected async finally(_: Error | undefined): Promise<any> {
404
// flush warnings
405
this.warningsToFlush.forEach((warning) => {
406
this.warn(warning);
407
});
408
+
409
+ return super.finally(_);
410
411
412
public abstract run(): Promise<T>;
0 commit comments