File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,11 +121,7 @@ export class GithubHelper {
121121 state : 'all' ,
122122 } ) ;
123123
124- // extract the milestone number and title and put into a new array
125- return result . data . map ( x => ( {
126- number : x . number ,
127- title : x . title ,
128- } ) ) ;
124+ return result . data . map ( x => ( { number : x . number , title : x . title } ) ) ;
129125 } catch ( err ) {
130126 console . error ( 'Could not access all GitHub milestones' ) ;
131127 console . error ( err ) ;
Original file line number Diff line number Diff line change @@ -25,19 +25,6 @@ if (settings.s3) {
2525 } ) ;
2626}
2727
28- //let settings = null;
29- try {
30- //settings = require('../settings.js');
31- } catch ( e ) {
32- if ( e . code === 'MODULE_NOT_FOUND' ) {
33- console . log ( '\n\nPlease copy the sample_settings.js to settings.js.' ) ;
34- } else {
35- console . log ( e ) ;
36- }
37-
38- process . exit ( 1 ) ;
39- }
40-
4128// Ensure that the GitLab token has been set in settings.js
4229if (
4330 ! settings . gitlab . token ||
You can’t perform that action at this time.
0 commit comments