Fix @typescript-eslint/no-misused-promises errors

This commit is contained in:
Labhansh Agrawal 2021-03-28 22:34:10 +05:30
parent 76912a3d27
commit fe2653c5c0
3 changed files with 2 additions and 2 deletions

View file

@ -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) {