typo fix
This commit is contained in:
parent
394c299ffe
commit
fb5e5b85fb
4
index.js
4
index.js
|
@ -36,10 +36,10 @@ const pkg = getPackageJson();
|
|||
console.log('tagPrefix:', tagPrefix);
|
||||
console.log('tagSuffix:', tagSuffix);
|
||||
|
||||
const checkLAstCommitOnly = process.env['INPUT_CHECK-LAST-COMMIT-ONLY'] || 'false';
|
||||
const checkLastCommitOnly = process.env['INPUT_CHECK-LAST-COMMIT-ONLY'] || 'false';
|
||||
|
||||
let messages = []
|
||||
if (checkLAstCommitOnly === 'true') {
|
||||
if (checkLastCommitOnly === 'true') {
|
||||
console.log('Only checking the last commit...');
|
||||
const commit = event.commits ? event.commits[event.commits.length - 1] : null;
|
||||
messages = commit ? [commit.message + '\n' + commit.body] : [];
|
||||
|
|
Loading…
Reference in New Issue