1
0
Fork 0

chore: Remove lint

This commit is contained in:
joostdecock 2023-09-30 14:28:17 +02:00
parent 4d52d8970a
commit 2bbc3cad0e
6 changed files with 10 additions and 24 deletions

View file

@ -1,14 +1,13 @@
import { config } from './config.mjs'
import { mkdir, readFile, writeFile, copyFile, open, opendir } from 'node:fs/promises'
import { join, dirname, relative } from 'path'
import { mkdir, writeFile, copyFile, open, opendir } from 'node:fs/promises'
import { join, dirname } from 'path'
import mustache from 'mustache'
import rdir from 'recursive-readdir'
import chalk from 'chalk'
import prompts from 'prompts'
import { oraPromise } from 'ora'
import { execa } from 'execa'
import axios from 'axios'
import { fileURLToPath, pathToFileURL } from 'url'
import { fileURLToPath } from 'url'
// Current working directory
let filename
@ -18,7 +17,6 @@ try {
filename = fileURLToPath(new URL(import.meta.url))
}
const newDesignDir = join(filename, '../..')
const designSrcDir = 'design/src'
const nl = '\n'
const tab = ' '
@ -126,8 +124,6 @@ export const getChoices = async () => {
return { name, manager, overwrite, sideStep }
}
const capitalize = (string) => string.charAt(0).toUpperCase() + string.slice(1)
// Keep track of directories that need to be created
const dirPromises = {}
const ensureDir = async (file, suppress = false) => {