Skip to content

Commit

Permalink
fix: import fs-extra
Browse files Browse the repository at this point in the history
  • Loading branch information
yanquanfahei committed Mar 5, 2023
1 parent 103c113 commit 0c02380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { resolve, dirname } from 'node:path'
import { fileURLToPath } from 'node:url'
import * as fsExtra from 'fs-extra'
import fs from 'fs-extra'
import { intro, text, select, outro } from '@clack/prompts'
import color from 'picocolors'
import validatePkg from 'validate-npm-package-name'
import parseArgs from 'minimist'
import boxen from 'boxen'

const { copySync, existsSync, mkdirSync, readJsonSync, writeJsonSync } = fsExtra
const { copySync, existsSync, mkdirSync, readJsonSync, writeJsonSync } = fs

const log = console.log

Expand Down

0 comments on commit 0c02380

Please sign in to comment.