mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix formatting for hermes-utils.js
This commit is contained in:
@@ -159,9 +159,16 @@ function copyPodSpec() {
|
||||
}
|
||||
|
||||
function isOnAReleaseBranch() {
|
||||
let currentBranch = execSync(`git rev-parse --abbrev-ref HEAD`).toString().trim();
|
||||
let currentRemote = execSync(`git config --get remote.origin.url`).toString().trim();
|
||||
return currentBranch.endsWith('-stable') && currentRemote.endsWith('facebook/react-native.git');
|
||||
let currentBranch = execSync('git rev-parse --abbrev-ref HEAD')
|
||||
.toString()
|
||||
.trim();
|
||||
let currentRemote = execSync('git config --get remote.origin.url')
|
||||
.toString()
|
||||
.trim();
|
||||
return (
|
||||
currentBranch.endsWith('-stable') &&
|
||||
currentRemote.endsWith('facebook/react-native.git')
|
||||
);
|
||||
}
|
||||
|
||||
function shouldBuildHermesFromSource() {
|
||||
|
||||
Reference in New Issue
Block a user