ソースを参照

Allow repositories to be disabled

tags/v0.3.3
Russ Garrett 5年前
コミット
fc75b59ba8
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      httplistener/github.go

+ 2
- 2
httplistener/github.go ファイルの表示

86
 
86
 
87
 	if send {
87
 	if send {
88
 		repo = strings.ToLower(repo)
88
 		repo = strings.ToLower(repo)
89
-		channel := viper.GetString(fmt.Sprintf("http.listeners.github.repositories.%s", repo))
89
+		channel := viper.GetString("http.listeners.github.default_channel")
90
 		if channel == "" {
90
 		if channel == "" {
91
-			channel = viper.GetString("http.listeners.github.default_channel")
91
+			channel = viper.GetString(fmt.Sprintf("http.listeners.github.repositories.%s", repo))
92
 		}
92
 		}
93
 
93
 
94
 		if channel == "" {
94
 		if channel == "" {

読み込み中…
キャンセル
保存