Skip to content

Commit af340e4

Browse files
author
Ammar Ahmed Butt
committed
Update lint.js
1 parent cbdcbd0 commit af340e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const checkComments = require('./comments');
1212
*/
1313
async function commitlint(context) {
1414
// 1. Extract necessary info
15-
const repo = context.repo(); // returns e.g { owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot' }
15+
const repo = context.repo(); // returns e.g {owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot'}
1616
const pull_info = context.issue(); // returns e.g {number: 47, owner: 'Ammar-Ahmed-Butt', repo: 'Ammar-Knowledge/main-bot'}
1717
// replacing number variable as pull_number b/c number is depricated
1818
const pull={ pull_number : pull_info.number, owner : pull_info.owner ,repo : pull_info.repo};

0 commit comments

Comments
 (0)