Skip to content

Commit

Permalink
Merge pull request #310 from EvanNotFound/dev
Browse files Browse the repository at this point in the history
Bump version to 2.5.6
  • Loading branch information
EvanNotFound authored Nov 21, 2023
2 parents f392cd5 + b3b7e63 commit 9f0ae9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-redefine",
"version": "2.5.5",
"version": "2.5.6",
"private": false,
"description": "Redefine your writing in Hexo Theme Redefine.",
"scripts": {
Expand Down
11 changes: 7 additions & 4 deletions scripts/events/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,16 @@ hexo.on("ready", async () => {
+======================================================================================+
`,
);
hexo.log.warn(`Check latest version failed: ${error}`);
hexo.locals.set(`cdnTestStatus_bootcdn`, 404);
hexo.locals.set(`cdnTestStatus_staticfile`, 404);
reject(error);
});
});
}

await fetchRedefineInfo();
try {
await fetchRedefineInfo();
} catch (error) {
hexo.log.warn(`Check latest version failed: ${error}`);
hexo.locals.set(`cdnTestStatus_bootcdn`, 404);
hexo.locals.set(`cdnTestStatus_staticfile`, 404);
}
});

0 comments on commit 9f0ae9e

Please sign in to comment.