We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 scripts/post-build/commits-info/task-handler.ts 文件中,readCommitsLog 函数获取提交信息时给出了如下的格式说明:
scripts/post-build/commits-info/task-handler.ts
readCommitsLog
/** * Format: * * >Date * <AuthorEmail * <CoAuthorEmail * <... * >Date * <AuthorEmail * <... */
然而我尝试输出 log:console.log(log);,发现实际运行时似乎 Date 前面并没有一个 >,这使得接下来的代码:
console.log(log);
>
const commits = log.trim().slice(1).split("\n>");
在分离各项提交时出现了问题。
我重新查看了部署步骤和我的文件结构,似乎并没有问题。
No response
The text was updated successfully, but these errors were encountered:
感谢你对 OI Wiki 的关注!记得在 Issue 中表达清楚自己的意思哦~
Sorry, something went wrong.
No branches or pull requests
请选择:
我遇到了这样的问题
在
scripts/post-build/commits-info/task-handler.ts
文件中,readCommitsLog
函数获取提交信息时给出了如下的格式说明:然而我尝试输出 log:
console.log(log);
,发现实际运行时似乎 Date 前面并没有一个>
,这使得接下来的代码:在分离各项提交时出现了问题。
我重新查看了部署步骤和我的文件结构,似乎并没有问题。
我确认这个问题可以这样复现
No response
The text was updated successfully, but these errors were encountered: