Skip to content

Commit 1381550

Browse files
committed
Coding standards.
1 parent 2ae1f86 commit 1381550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ module.exports = function(grunt) {
460460
'workflow-references-local-to-remote': {
461461
options: {
462462
processContent: function( src ) {
463-
return src.replace( /uses: \.\/\.github\/workflows\/([^\.]+)\.yml/g, function( match, $1, $2, $3 ) {
463+
return src.replace( /uses: \.\/\.github\/workflows\/([^\.]+)\.yml/g, function( match, $1 ) {
464464
return 'uses: WordPress/wordpress-develop/.github/workflows/' + $1 + '.yml@trunk';
465465
} );
466466
}
@@ -471,7 +471,7 @@ module.exports = function(grunt) {
471471
'workflow-references-remote-to-local': {
472472
options: {
473473
processContent: function( src ) {
474-
return src.replace( /uses: WordPress\/wordpress-develop\/\.github\/workflows\/([^\.]+)\.yml@trunk/g, function( match, $1, $2, $3 ) {
474+
return src.replace( /uses: WordPress\/wordpress-develop\/\.github\/workflows\/([^\.]+)\.yml@trunk/g, function( match, $1 ) {
475475
return 'uses: ./.github/workflows/' + $1 + '.yml';
476476
} );
477477
}

0 commit comments

Comments
 (0)