Unverified Commit 2b5205a9 authored by 조상현's avatar 조상현 Committed by GitHub

makeDir should use func (#50136)

Co-authored-by: 's avatarSteven <229881+styfle@users.noreply.github.com>
parent 0c968b8e
import { install } from '../helpers/install'
import { makeDir } from '../helpers/make-dir'
import cpy from 'cpy'
import globOrig from 'glob'
......@@ -111,7 +112,7 @@ export const installTemplate = async ({
}
if (srcDir) {
await fs.promises.mkdir(path.join(root, 'src'), { recursive: true })
await makeDir(path.join(root, 'src'))
await Promise.all(
SRC_DIR_NAMES.map(async (file) => {
await fs.promises
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment