develop
master
git
git ls-remote
verifyRemoteAccess
Dockerfile
app/git.js
spawnSync git
ENOENT
app/git.test.js
npm test
No dependencies set.
The note is not visible to the blocked user.
變更摘要
git,讓前置驗證可以執行git ls-remote檢查遠端認證與連線。git時會明確提示需要安裝 git。verifyRemoteAccess失敗訊息。影響範圍
Dockerfile:調整 Alpine 套件安裝清單,新增git。app/git.js:改善spawnSync git發生ENOENT時的錯誤內容。app/git.test.js:新增 remote preflight 在 git 不存在時的測試案例。驗證
npm test通過:232 tests。風險與注意事項