File tree 3 files changed +0
-12
lines changed
3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -4389,14 +4389,11 @@ const extractBody = async (text) => {
4389
4389
else {
4390
4390
extracted = text.substring(firstIndex + 1, lastIndex - 1);
4391
4391
}
4392
- console.log([extracted]);
4393
4392
const strArray = extracted.split('\r\n');
4394
- console.log(strArray);
4395
4393
const newText = strArray
4396
4394
.slice(0, 3)
4397
4395
.map(item => item.replace('\n', '').replace('\r', ''))
4398
4396
.join('<br />');
4399
- console.log([newText]);
4400
4397
return strArray.length > 3 ? newText + '<br />...' : newText;
4401
4398
};
4402
4399
exports.default = extractBody;
@@ -9193,7 +9190,6 @@ const getContents = async () => {
9193
9190
const octokit = new github.GitHub(token);
9194
9191
console.log('GitHub client has been initialized.');
9195
9192
const repository = github.context.repo;
9196
- console.log(labels);
9197
9193
const list = await octokit.issues.listForRepo({
9198
9194
...repository,
9199
9195
state: 'all',
Original file line number Diff line number Diff line change @@ -12,19 +12,13 @@ const extractBody = async (text: string) => {
12
12
extracted = text . substring ( firstIndex + 1 , lastIndex - 1 ) ;
13
13
}
14
14
15
- console . log ( [ extracted ] ) ;
16
-
17
15
const strArray = extracted . split ( '\r\n' ) ;
18
16
19
- console . log ( strArray ) ;
20
-
21
17
const newText = strArray
22
18
. slice ( 0 , 3 )
23
19
. map ( item => item . replace ( '\n' , '' ) . replace ( '\r' , '' ) )
24
20
. join ( '<br />' ) ;
25
21
26
- console . log ( [ newText ] ) ;
27
-
28
22
return strArray . length > 3 ? newText + '<br />...' : newText ;
29
23
} ;
30
24
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ const getContents = async () => {
11
11
12
12
const repository = github . context . repo ;
13
13
14
- console . log ( labels ) ;
15
-
16
14
const list = await octokit . issues . listForRepo ( {
17
15
...repository ,
18
16
state : 'all' ,
You can’t perform that action at this time.
0 commit comments