Build: Fix formatting issues introduced in [44740].
Merges [44744] to the 5.1 branch. See #46218. git-svn-id: https://develop.svn.wordpress.org/branches/5.1@44745 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
48e25b3cd4
commit
ccb5b50f1b
@ -1345,7 +1345,7 @@ JS;
|
||||
function test_no_source_mapping() {
|
||||
$all_files = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( dirname( ABSPATH ) . '/build/' ) );
|
||||
$js_files = new RegexIterator( $all_files, '/\.js$/' );
|
||||
foreach( $js_files as $js_file ) {
|
||||
foreach ( $js_files as $js_file ) {
|
||||
$contents = trim( file_get_contents( $js_file ) );
|
||||
|
||||
// We allow data: URLs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user