Merge pull request #18777 from shivapoudel/fix/textdomain-check

Exclude textdomain check for libraries
This commit is contained in:
Claudio Sanches 2018-02-02 13:50:54 -02:00 committed by GitHub
commit 3146f87942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -230,12 +230,13 @@ module.exports = function( grunt ) {
}, },
files: { files: {
src: [ src: [
'**/*.php', // Include all files '**/*.php', // Include all files
'!apigen/**', // Exclude apigen/ '!apigen/**', // Exclude apigen/
'!node_modules/**', // Exclude node_modules/ '!includes/libraries/**', // Exclude libraries/
'!tests/**', // Exclude tests/ '!node_modules/**', // Exclude node_modules/
'!vendor/**', // Exclude vendor/ '!tests/**', // Exclude tests/
'!tmp/**' // Exclude tmp/ '!vendor/**', // Exclude vendor/
'!tmp/**' // Exclude tmp/
], ],
expand: true expand: true
} }