♻️ Fix eslint warnings

This commit is contained in:
trickypr 2022-05-08 14:32:27 +10:00
parent 6d5b48c37f
commit f90dd9c30c
15 changed files with 67 additions and 45 deletions

View file

@ -7,11 +7,11 @@ import Listr from 'listr'
import { resolve } from 'path'
import { bin_name } from '..'
import { log } from '../log'
import { config, configDispatch, dispatch } from '../utils'
import { config, configDispatch } from '../utils'
export const init = async (
directory: Command | string,
task?: Listr.ListrTaskWrapper<any>
task?: Listr.ListrTaskWrapper<unknown>
): Promise<void> => {
function logInfo(data: string) {
if (task) {