[CodeFactor] Apply fixes to commit e8aa07a

[ci skip] [skip ci]
This commit is contained in:
codefactor-io
2021-01-10 12:35:06 +00:00
parent e8aa07afd9
commit 87a345fd01

View File

@@ -24,7 +24,7 @@ const config = {
};
module.exports = async (ctx) => {
const cfg = config[ctx.params.caty];
const cfg = config[ctx.params.caty];
if (!cfg) {
throw Error('Bad category. See <a href="https://docs.rsshub.app/government.html#guang-dong-sheng-jiao-yu-ting">docs</a>');
}