OS: Win11
Build Version: 20251217.1
Repro Steps:
- Create a JavaScript project with Http Trigger template.
- Commit the changes from Source Control.
- Create a Linux function app with Node.js 24 (Preview) runtime -> Change the deployment source to LocalGit.
- Deploy the project to the function app.
- Check whether succeeds to deploy the project or not.
Expect:
Succeed to deploy the project.
Actual:
Fail to deploy the project.

More Info:
- This issue does not reproduce for Linux Node.js 22 function app.
- This issue does not reproduce for Windows Node.js 24 function app, but no http triggers found.

- Another error occurs when deploying at the first time (Linux/Windows function app).
