File tree Expand file tree Collapse file tree 4 files changed +3
-14
lines changed
actions/trickle-down-changelog Expand file tree Collapse file tree 4 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -34483,7 +34483,7 @@ function getVersions(diff) {
3448334483 for (const line of parsedDiff) {
3448434484 if (!line.startsWith('+'))
3448534485 continue;
34486- if (line.startsWith('+#') || line.startsWith(( '+=') )) {
34486+ if (line.startsWith('+#') || line.startsWith('+=')) {
3448734487 match = getVersionFromLine(line);
3448834488 if (match)
3448934489 changedVersions.push(match);
Original file line number Diff line number Diff line change @@ -125,15 +125,15 @@ function getVersions(diff: string): string[] {
125125 let match ;
126126 for ( const line of parsedDiff ) {
127127 if ( ! line . startsWith ( '+' ) ) continue ;
128- if ( line . startsWith ( '+#' ) || line . startsWith ( ( '+=' ) ) ) {
128+ if ( line . startsWith ( '+#' ) || line . startsWith ( '+=' ) ) {
129129 match = getVersionFromLine ( line ) ;
130130 if ( match ) changedVersions . push ( match ) ;
131131 }
132132 }
133133 return changedVersions ;
134134}
135135
136- function getVersionFromLine ( line : string ) : string | undefined {
136+ function getVersionFromLine ( line : string ) : string | undefined {
137137 const match = simpleSemverRegex . exec ( line ) ;
138138 if ( match && match . length > 0 ) return match [ 0 ] ;
139139 return undefined ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export default tseslint.config(
2020 '**/dist/**' ,
2121 '**/node_modules/**' ,
2222 '**/__snapshots__/**' ,
23- '**/*.js' ,
2423 ] ,
2524 } ,
2625) ;
You can’t perform that action at this time.
0 commit comments