jscheffl commented on code in PR #56456:
URL: https://github.com/apache/airflow/pull/56456#discussion_r2784528801


##########
scripts/ci/prek/compile_provider_assets.py:
##########
@@ -117,7 +123,8 @@ def compile_assets(provider_name: str):
         if try_num == 2 or INTERNAL_SERVER_ERROR not in result.stderr + 
result.stdout:
             print(result.stdout + "\n" + result.stderr)
             sys.exit(result.returncode)
-    subprocess.check_call(["yarn", "run", "build"], 
cwd=os.fspath(www_directory), env=env)
+    build_cmd = ["yarn", "run"] if PROVIDERS_BUILD[provider_name] == "yarn" 
else ["pnpm"]

Review Comment:
   Thanks, adjusted.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to