Do not import from fs-extra (#13481)

This commit is contained in:
Joe Haddad 2020-05-27 23:43:48 -04:00 committed by GitHub
parent f0ff77ed88
commit 096d50386e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,4 @@
import { promises as fsPromises } from 'fs'
import { writeFile } from 'fs-extra'
import chalk from 'next/dist/compiled/chalk'
import * as CommentJson from 'next/dist/compiled/comment-json'
import os from 'os'
@ -170,7 +169,7 @@ export async function verifyTypeScriptSetup(
)
console.log()
await writeFile(tsConfigPath, '{}' + os.EOL)
await fsPromises.writeFile(tsConfigPath, '{}' + os.EOL)
}
let resolvedTsConfig