Fix @typescript-eslint/no-misused-promises errors
This commit is contained in:
parent
76912a3d27
commit
fe2653c5c0
3 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import got from 'got';
|
|||
import ora from 'ora';
|
||||
import * as api from './api';
|
||||
|
||||
let commandPromise: Promise<void>;
|
||||
let commandPromise: Promise<void> | undefined;
|
||||
|
||||
const assertPluginName = (pluginName: string) => {
|
||||
if (!pluginName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue