Unverified Commit 096d5038 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Do not import from `fs-extra` (#13481)

parent f0ff77ed
import { promises as fsPromises } from 'fs' import { promises as fsPromises } from 'fs'
import { writeFile } from 'fs-extra'
import chalk from 'next/dist/compiled/chalk' import chalk from 'next/dist/compiled/chalk'
import * as CommentJson from 'next/dist/compiled/comment-json' import * as CommentJson from 'next/dist/compiled/comment-json'
import os from 'os' import os from 'os'
...@@ -170,7 +169,7 @@ export async function verifyTypeScriptSetup( ...@@ -170,7 +169,7 @@ export async function verifyTypeScriptSetup(
) )
console.log() console.log()
await writeFile(tsConfigPath, '{}' + os.EOL) await fsPromises.writeFile(tsConfigPath, '{}' + os.EOL)
} }
let resolvedTsConfig let resolvedTsConfig
......
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