We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5ab401 commit 6e7e70aCopy full SHA for 6e7e70a
src/action.js
@@ -91,12 +91,12 @@ function getOptsFromConfig(config) {
91
}
92
93
94
-const formatErrors = (lintedCommits) =>
+const formatErrors = (lintedCommits, { config }) =>
95
format(
96
{ results: lintedCommits.map((commit) => commit.lintResult) },
97
{
98
color: true,
99
- helpUrl: getInput('helpURL'),
+ helpUrl: config.helpUrl || getInput('helpURL'),
100
},
101
)
102
@@ -129,7 +129,7 @@ const showLintResults = async ([from, to]) => {
129
hash: commit.hash,
130
})),
131
132
- const formattedResults = formatErrors(lintedCommits)
+ const formattedResults = formatErrors(lintedCommits, { config })
133
134
generateOutputs(lintedCommits)
135
0 commit comments