Skip to content

Commit

Permalink
ci: 最后的修正
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnAngela committed Dec 15, 2023
1 parent 000ca08 commit d3a7ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/modules/eslint-formatter-gha.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const formatter = (results) => {
// eslint-disable-next-line no-unused-vars
messageId, nodeType, fatal, source, suggestions,
} of messages) {
const msg = `${message} (${ruleId}) ${fix ? "[maybe fixable]" : ""} @ https://eslint.org/docs/latest/rules/${ruleId}${isInGithubActions ? `https://github.com/${process.env.GITHUB_REPOSITORY}/blob/${process.env.GITHUB_SHA}/${path.relative(process.cwd(), filePath)}` : ""}`;
const msg = `${message} (${ruleId}) ${fix ? "[maybe fixable]" : ""} - https://eslint.org/docs/latest/rules/${ruleId}${isInGithubActions ? ` @ https://github.com/${process.env.GITHUB_REPOSITORY}/blob/${process.env.GITHUB_SHA}/${path.relative(process.cwd(), filePath)}` : ""}`;
/**
* @type {NonNullable<Parameters<notice>[1]>}
*/
Expand Down

0 comments on commit d3a7ab3

Please sign in to comment.