gabrielcsapo / gabrielcsapo/node-git-server
How reject works?
オープン
- 主要言語
- TypeScript
- スター
- 262
- フォーク
- 81
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Lets say I listen to some push event and for some reason I decide to reject this push. I tried to do something like:
```
repos.on("push", (data: PushData) => {
data.reject(403, `Rejected! Have a good day`)
});
```
It really returns some error to the client, But it doesn't return the specific message I chose (It does send the correct code)
What am I doing wrong?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。