Peer review is supposed to be about making sure a study is done right and the conclusions follow from the results. It has turned into making sure any studies that contradict the current consensus, never make it to print. It keeps the scientists in line since most scientists can't keep their jobs if they don't publish.
https://justthenews.com/politics-policy/coronavirus/major-mask-study-rejected-multiple-journals-amid-rumors-it-shows-masks