File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ macro_rules! permissions {
100
100
}
101
101
) *
102
102
$(
103
- if permission == concat!( "crates_io_ops_bot" , stringify!( $crates_io_ops_app) ) {
103
+ if permission == concat!( "crates_io_ops_bot. " , stringify!( $crates_io_ops_app) ) {
104
104
return self . crates_io_ops_bot. $crates_io_ops_app
105
105
}
106
106
) *
@@ -121,6 +121,7 @@ macro_rules! permissions {
121
121
$( || self . $boolean) *
122
122
$( || self . bors. $bors. review) *
123
123
$( || self . bors. $bors. try_) *
124
+ $( || self . crates_io_ops_bot. $crates_io_ops_app) *
124
125
}
125
126
126
127
pub ( crate ) fn validate( & self , what: String ) -> Result <( ) , Error > {
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ impl<'a> Generator<'a> {
142
142
143
143
let mut discord_ids = allowed
144
144
. iter ( )
145
- . map ( |p| p. discord_id ( ) . unwrap_or ( 0 ) )
145
+ . filter_map ( |p| p. discord_id ( ) )
146
146
. collect :: < Vec < _ > > ( ) ;
147
147
148
148
github_users. sort ( ) ;
You can’t perform that action at this time.
0 commit comments