forked from mirrors/thatmattlove-hyperglass
remove --no-lint from next build
Apparently, it causes errors. Which is stupid.
This commit is contained in:
parent
9d1c6a5e4a
commit
be09dbc476
1 changed files with 14 additions and 21 deletions
|
|
@ -71,9 +71,6 @@ async def node_initial(timeout: int = 180, dev_mode: bool = False) -> str:
|
|||
if env_timeout is not None and env_timeout > timeout:
|
||||
timeout = env_timeout
|
||||
|
||||
all_messages = ()
|
||||
|
||||
try:
|
||||
proc = await asyncio.create_subprocess_shell(
|
||||
cmd="pnpm install",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
|
|
@ -89,12 +86,8 @@ async def node_initial(timeout: int = 180, dev_mode: bool = False) -> str:
|
|||
raise RuntimeError(f"\nMessages:\n{messages}\nErrors:\n{errors}")
|
||||
|
||||
await proc.wait()
|
||||
all_messages += (messages,)
|
||||
|
||||
except Exception as err:
|
||||
raise RuntimeError(str(err)) from err
|
||||
|
||||
return "\n".join(all_messages)
|
||||
return "\n".join(messages)
|
||||
|
||||
|
||||
async def build_ui(app_path: Path):
|
||||
|
|
@ -110,7 +103,7 @@ async def build_ui(app_path: Path):
|
|||
build_dir = app_path / "static" / "ui"
|
||||
out_dir = ui_dir / "out"
|
||||
|
||||
build_command = "node_modules/.bin/next build --no-lint"
|
||||
build_command = "node_modules/.bin/next build"
|
||||
|
||||
all_messages = []
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue