mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 04:00:09 +00:00
chore: fix pre commit format and pipeline issue (#1144)
This commit is contained in:
parent
2256497dff
commit
893f51fc82
970 changed files with 11235 additions and 9533 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue