Skip to content

Commit

Permalink
fix: check
Browse files Browse the repository at this point in the history
  • Loading branch information
adproqwq committed Feb 4, 2024
1 parent 9fc895b commit c83469c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const check = async() => {
if(subListJSON[i].subUrl == ''){
throw new Error('Can not find the subscription import url');
}
if(subListJSON[i].active != true || subListJSON[i].active != false){
if(subListJSON[i].active != true && subListJSON[i].active != false){
throw new Error('The value of active is not a boolen value');
}
if((subListJSON[i].repo == '' && subListJSON[i].branch != '') || (subListJSON[i].repo != '' && subListJSON[i].branch == '')){
Expand Down

0 comments on commit c83469c

Please sign in to comment.