Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
marksylee committed Feb 20, 2021
1 parent 995c2eb commit c8ffec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hexo/helper/cdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const UNPKG_FIXTURES = {
*
* // Use the function below to insert FontAwesome icon font CSS URL.
* iconcdn();
* // -> https://use.fontawesome.com/releases/v5.12.0/css/all.css
* // -> https://use.fontawesome.com/releases/v5.15.2/css/all.css
*/
module.exports = function (hexo) {
function applyFixture(fixture, _package, version, filename) {
Expand Down
2 changes: 1 addition & 1 deletion src/hexo/helper/cdn.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ describe('Get icon font URL', () => {

test('loli', () => {
hexo.config.providers = { iconcdn: 'loli' };
const expected = ['https://cdnjs.loli.net/ajax/libs/font-awesome/5.12.0/css/all.min.css'];
const expected = ['https://cdnjs.loli.net/ajax/libs/font-awesome/5.15.2/css/all.min.css'];
cases.forEach((func, i) => expect(func()).toBe(expected[i]));
});

Expand Down

0 comments on commit c8ffec1

Please sign in to comment.