Closed FrederickBun closed 2 months ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Build failed, please fix it Log
ERROR {
err: SyntaxError: Unexpected token 'else' in /home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/themes/redefine/layout/_partials/head.ejs while compiling ejs
If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.
at new Function (<anonymous>)
at Template.compile (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/ejs/lib/ejs.js:673:12)
at Object.compile (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/ejs/lib/ejs.js:398:16)
at ejsRenderer.compile (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo-renderer-ejs/lib/renderer.js:10:14)
at _View._precompile (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo/lib/theme/view.js:129:33)
at new View (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo/lib/theme/view.js:27:10)
at new _View (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo/lib/theme/index.js:33:5)
at Theme.setView (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo/lib/theme/index.js:65:18)
at /home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/hexo/lib/theme/processors/view.js:14:14
at tryCatcher (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/async.js:[93](https://github.com/EvanNotFound/hexo-theme-redefine/actions/runs/10702374826/job/29670426683?pr=431#step:11:94):12)
at _drainQueue (/home/runner/work/hexo-theme-redefine/hexo-theme-redefine/hexo-site/node_modules/bluebird/js/release/async.js:86:9)
} Process failed: %s layout/_partials/head.ejs
@EvanNotFound Please check
This pull request has been deployed to Vercel.
Latest commit: | cecf586 |
✅ Preview: | https://redefine-preview-pr-431.vercel.app |
🔍 Inspect: | https://vercel.com/evanovation/hexo-theme-redefine/2wCPFN1yFk3DkE7qiNf2W2mSvgYC |
对 #427 的修复