Skip to content

Commit

Permalink
Scripts: Fix render.php isn't copied in Windows OS (WordPress#48735)
Browse files Browse the repository at this point in the history
* Scripts: Fix `render.php` isn't copied in Windows OS

* Update changelog
  • Loading branch information
t-hamano authored Mar 5, 2023
1 parent bdd50b5 commit 95d52c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fix

- Fix `render.php` isn't copied in Windows OS ([#48735](https://github.com/WordPress/gutenberg/pull/48735)).

## 25.5.0 (2023-03-01)

## 25.4.0 (2023-02-15)
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function getRenderPropPaths() {
);
return false;
}
return filepath;
return filepath.replace( /\\/g, '/' );
}
return false;
} );
Expand Down

0 comments on commit 95d52c4

Please sign in to comment.