This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: fix timezone update tool
The spawnSync call was previously silently failing with this error: ```sh icupkg: unable to open input file "icudt*.dat" ``` because spawnSync doesn't support globbing. This change replaces the spawnSync call with execSync because that supports globbing. I have tested this workflow with some minor modifications in my fork and I can confirm that it works as expected now. The bot opened this PR - RaisinTen#2 which updates deps/icu-small/source/data/in/icudt71l.dat.bz2. Fixes: #44865 Signed-off-by: Darshan Sen <firstname.lastname@example.org> PR-URL: #44870 Reviewed-By: Richard Lau <email@example.com> Reviewed-By: Antoine du Hamel <firstname.lastname@example.org>
- Loading branch information
Showing 1 changed file with 2 additions and 8 deletions.