Skip to content

Commit

Permalink
style: remove trailing spaces and console.error
Browse files Browse the repository at this point in the history
  • Loading branch information
EricX37 committed Jan 22, 2025
1 parent 08f44c0 commit b3ae773
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions lib/v2/darioamodei/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import got from '@/utils/got';
import got from '@/utils/got';
import cheerio from 'cheerio';
import { parseDate } from '@/utils/parse-date';

Expand Down Expand Up @@ -37,4 +37,4 @@ export default async function darioamodeiHandler(ctx) {
console.error('Error fetching Dario Amodei blog:', error);

Check failure

Code scanning / ESLint

Disallow the use of `console` Error

Unexpected console statement.
throw error;
}
}
}
4 changes: 2 additions & 2 deletions lib/v2/darioamodei/maintainer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
module.exports = {
'/': ['Lee'],
};
};
6 changes: 3 additions & 3 deletions lib/v2/darioamodei/radar.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export default {
export default {
'darioamodei.com': {
_name: 'Dario Amodei Blog',
'.': [
{
title: '²©¿ÍÎÄÕÂ',
title: '博客文章',
docs: 'https://docs.rsshub.app/blog.html#dario-amodei-blog',
source: ['/'],
target: '/'
}
]
}
};
};
4 changes: 2 additions & 2 deletions lib/v2/darioamodei/router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import darioamodeiHandler from './index';
import darioamodeiHandler from './index';

export default function darioamodeiRouter(router) {
router.get('/', darioamodeiHandler);
}
}

0 comments on commit b3ae773

Please sign in to comment.