Skip to content

Commit

Permalink
fix Remove unnecessary await (#52800)
Browse files Browse the repository at this point in the history
### What?

While examining Next.js, I noticed unnecessary 'await' statements and
removed them.

### How?

I have removed the 'await' statements.


Is it acceptable to submit such minor modifications?
Then, please review it. Thank you.

Co-authored-by: 원건우 <wongeon-u@wongunwoo.local>
Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
3 people committed Jul 18, 2023
1 parent daac048 commit 299e830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ export default async function loadConfig(
}
: Log

await loadEnvConfig(dir, phase === PHASE_DEVELOPMENT_SERVER, curLog)
loadEnvConfig(dir, phase === PHASE_DEVELOPMENT_SERVER, curLog)

loadWebpackHook({
// For render workers, there's no need to init webpack eagerly
Expand Down

0 comments on commit 299e830

Please sign in to comment.