Skip to content

fix(build): remove incorrect await from readFileSync calls#1379

Open
Ayoub-Mabrouk wants to merge 1 commit intogoogle:mainfrom
Ayoub-Mabrouk:fix/remove-incorrect-await-readfilesync
Open

fix(build): remove incorrect await from readFileSync calls#1379
Ayoub-Mabrouk wants to merge 1 commit intogoogle:mainfrom
Ayoub-Mabrouk:fix/remove-incorrect-await-readfilesync

Conversation

@Ayoub-Mabrouk
Copy link
Contributor

Remove incorrect await keyword from fs.readFileSync() calls in build-versions.mjs and build-tests.mjs. readFileSync is synchronous and doesn't return a Promise, so await is invalid syntax.

@google-cla
Copy link

google-cla bot commented Dec 30, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Ayoub-Mabrouk
Copy link
Contributor Author

Hello @antonmedv 👋
I was wondering if you had a chance to look at my PR.
I’d really appreciate your feedback when you have time. Thanks!

@Ayoub-Mabrouk Ayoub-Mabrouk force-pushed the fix/remove-incorrect-await-readfilesync branch 2 times, most recently from 0730bed to 0831e86 Compare February 3, 2026 12:59
Remove incorrect await keyword from fs.readFileSync() calls in
build-versions.mjs and build-tests.mjs. readFileSync is synchronous
and doesn't return a Promise, so await is invalid syntax.
@Ayoub-Mabrouk Ayoub-Mabrouk force-pushed the fix/remove-incorrect-await-readfilesync branch from 0831e86 to 8bd0bff Compare February 3, 2026 12:59
@antonmedv antonmedv requested a review from antongolub February 3, 2026 13:08
@antonmedv
Copy link
Collaborator

PTAL @antongolub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants