Skip to content

Commit a862210

Browse files
committed
for no lose my progress
1 parent 380269e commit a862210

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.wiby.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
"dependents": [
33
{
44
"repository": "https://github.com/wiby-test/partial",
5-
"pullRequest": false
5+
"pullRequest": false,
6+
"mode": "download"
67
},
78
{
89
"repository": "git://github.com/wiby-test/fail",
9-
"pullRequest": false
10+
"pullRequest": false,
11+
"mode": "download"
1012
},
1113
{
1214
"repository": "git+https://github.com/wiby-test/pass",
13-
"pullRequest": true
15+
"pullRequest": true,
16+
"mode": "download"
1417
}
1518
]
1619
}

lib/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const dependentSchema = joi.object({
1616
}),
1717
pullRequest: joi.boolean().optional(),
1818
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()
2021
}).unknown(false)
2122

2223
exports.schema = joi.object({

0 commit comments

Comments
 (0)