process.stdout.write('can not get commits of '+sdk+'/api.md\n');
process.exit(3);
}
githubCommits.forEach(function(gc){
if(('update for commit '+newRev)==gc.commit.message){
process.stdout.write('find api update'+gc.sha+' for '+newRev+'\n');
process.exit(0);
}
});
process.exit(8);
});
process.stdout.write(newRev+' need a api update\n');
process.stdout.write('please update document before push--https://github.com/unisound-edu-dev/OralEvalSDKDocPrj/blob/master/'+commits[i].sdk+'api.md\n');
process.exit(2);
}
process.exit(0);
}
}
process.stdout.write('can not find commit '+newRev);
process.stdout.write('\nplease update document before push--https://github.com/unisound-edu-dev/OralEvalSDKDocPrj/blob/master/internal/commits');