We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbdcbd0 commit af340e4Copy full SHA for af340e4
lib/lint.js
@@ -12,7 +12,7 @@ const checkComments = require('./comments');
12
*/
13
async function commitlint(context) {
14
// 1. Extract necessary info
15
- const repo = context.repo(); // returns e.g { owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot' }
+ const repo = context.repo(); // returns e.g {owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot'}
16
const pull_info = context.issue(); // returns e.g {number: 47, owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot'}
17
// replacing number variable as pull_number b/c number is depricated
18
const pull={ pull_number : pull_info.number, owner : pull_info.owner ,repo : pull_info.repo};
0 commit comments