From ac61c14b5870537b24d4c8c28bd3d6f503fa408d Mon Sep 17 00:00:00 2001 From: Blake Friedman Date: Tue, 29 Oct 2024 10:06:17 -0700 Subject: [PATCH] Fix typo in template action watcher script (#47286) Summary: Trivial typo - static analysis would have been a good thing. Changelog: [Internal] Pull Request resolved: https://github.com/facebook/react-native/pull/47286 Test Plan: eyes Reviewed By: NickGerleman Differential Revision: D65145600 Pulled By: blakef fbshipit-source-id: 567ef3637441aa84651dce03f45b80068c5f4290 --- .github/workflow-scripts/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow-scripts/utils.js b/.github/workflow-scripts/utils.js index ddbe2b210b8..403ed5ff767 100644 --- a/.github/workflow-scripts/utils.js +++ b/.github/workflow-scripts/utils.js @@ -21,7 +21,7 @@ module.exports.sleep = sleep; async function getNpmPackageInfo(pkg, versionOrTag) { return fetch(`https://registry.npmjs.org/${pkg}/${versionOrTag}`).then(resp => - res.json(), + resp.json(), ); } module.exports.getNpmPackageInfo = getNpmPackageInfo;