File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
"dependents" : [
3
3
{
4
4
"repository" : " https://github.com/wiby-test/partial" ,
5
- "pullRequest" : false
5
+ "pullRequest" : false ,
6
+ "mode" : " download"
6
7
},
7
8
{
8
9
"repository" : " git://github.com/wiby-test/fail" ,
9
- "pullRequest" : false
10
+ "pullRequest" : false ,
11
+ "mode" : " download"
10
12
},
11
13
{
12
14
"repository" : " git+https://github.com/wiby-test/pass" ,
13
- "pullRequest" : true
15
+ "pullRequest" : true ,
16
+ "mode" : " download"
14
17
}
15
18
]
16
19
}
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const dependentSchema = joi.object({
16
16
} ) ,
17
17
pullRequest : joi . boolean ( ) . optional ( ) ,
18
18
sha : joi . string ( ) . optional ( ) . default ( 'HEAD' ) ,
19
- mode : joi . string ( ) . valid ( 'pull-request' , 'download' ) . optional ( ) . default ( 'pull-request' )
19
+ mode : joi . string ( ) . valid ( 'pull-request' , 'download' ) . optional ( ) . default ( 'pull-request' ) ,
20
+ scripts : joi . array ( )
20
21
} ) . unknown ( false )
21
22
22
23
exports . schema = joi . object ( {
You can’t perform that action at this time.
0 commit comments