mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user