chore: fix pre commit format and pipeline issue (#1144)

This commit is contained in:
Wendong-Fan 2026-02-04 00:06:29 +00:00 committed by GitHub
parent 2256497dff
commit 893f51fc82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
970 changed files with 11235 additions and 9533 deletions

View file

@ -38,14 +38,14 @@ function getEnvVariable(name, defaultValue) {
if (isBrowserLike()) {
throw new Error(import_strings.deindent`
Can't use getEnvVariable on the client because Next.js transpiles expressions of the kind process.env.XYZ at build-time on the client.
Use process.env.XYZ directly instead.
`);
}
if (name === "NEXT_RUNTIME") {
throw new Error(import_strings.deindent`
Can't use getEnvVariable to access the NEXT_RUNTIME environment variable because it's compiled into the client bundle.
Use getNextRuntime() instead.
`);
}
@ -83,4 +83,4 @@ function getNodeEnvironment() {
getNodeEnvironment,
isBrowserLike
});
//# sourceMappingURL=env.js.map
//# sourceMappingURL=env.js.map