-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
always install react-native-file-access
- Loading branch information
1 parent
c43bcff
commit bce6eac
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ module.exports = { | |
const registryUrl = process.env.REGISTRY_URL | ||
|
||
const jsSourceDir = process.env.JS_SOURCE_DIR || 'scenario_js' | ||
const installRNFileAccess = jsSourceDir === 'scenario_js' | ||
|
||
let artefactName = rnVersion | ||
if (process.env.ARTEFACT_NAME) { | ||
|
@@ -37,10 +36,8 @@ module.exports = { | |
common.run(command, true) | ||
|
||
// Install react-native-file-access | ||
if (installRNFileAccess) { | ||
const RNFACommand = `npm install [email protected] --registry ${registryUrl}` | ||
common.run(RNFACommand, true) | ||
} | ||
const RNFACommand = `npm install [email protected] --registry ${registryUrl}` | ||
common.run(RNFACommand, true) | ||
|
||
// Install any required secondary files | ||
if (fs.existsSync('./install.sh')) { | ||
|