[Bug] Default list of Composer commands has an extra space after each command
Contact Information
No response
1Panel Version
2.1.5
Problem Description
The default dropdown list of Composer commands (install, update, require, etc.) has a space following each item, resulting in failure in execution.
Steps to Reproduce
- Choose the
installcommand from the Composer command list. - Click on "execute."
- The command fails.
The expected correct result
The command successfully execute.
Related log output
2026/03/22 16:49:29 执行 [composer install ] 任务开始 [START] 2026/03/22 16:49:29 2026/03/22 16:49:29 2026/03/22 16:49:29 Command "install " is not defined. 2026/03/22 16:49:29 2026/03/22 16:49:29 Did you mean this? 2026/03/22 16:49:29 install 2026/03/22 16:49:29 2026/03/22 16:49:29 2026/03/22 16:49:29 子任务 失败: exit status 1 2026/03/22 16:49:30 [TASK-END]
Additional Information
No response