Changeset 51173
- Timestamp:
- 06/16/2021 10:56:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r51016 r51173 1547 1547 */ 1548 1548 grunt.registerTask( 'verify:source-maps', function() { 1549 const path = `${ BUILD_DIR }**/*.js`; 1550 const files = glob.sync( path ); 1549 const files = buildFiles.reduce( ( acc, path ) => { 1550 // Skip excluded paths and any path that isn't a file. 1551 if ( '!' === path[0] || '**' !== path.substr( -2 ) ) { 1552 return acc; 1553 } 1554 acc.push( ...glob.sync( `${ BUILD_DIR }/${ path }/*.js` ) ); 1555 return acc; 1556 }, [] ); 1551 1557 1552 1558 assert(
Note: See TracChangeset
for help on using the changeset viewer.