Skip to content

Commit c75a147

Browse files
author
Riccardo Cipolleschi
committed
add missing await to generate artifacts
1 parent 2707b90 commit c75a147

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

scripts/test-e2e-local.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ async function downloadArtifactsFromCircleCI(
202202
await circleCIArtifacts.artifactURLForPackagedReactNative();
203203
const hermesURL = await circleCIArtifacts.artifactURLHermesDebug();
204204

205-
const packagedReactNativePath = path.join(circleCIArtifacts.baseTmpPath, '/tmp/packaged-react-native.tar.gz');
205+
const packagedReactNativePath = path.join(
206+
circleCIArtifacts.baseTmpPath,
207+
'/tmp/packaged-react-native.tar.gz',
208+
);
206209
const hermesPath = path.join(
207210
circleCIArtifacts.baseTmpPath,
208211
'hermes-ios-debug.tar.gz',
@@ -337,7 +340,7 @@ async function testRNTestProject(circleCIArtifacts) {
337340
circleCIArtifacts != null
338341
? path.join(circleCIArtifacts.baseTmpPath, 'maven-local.zip')
339342
: '/private/tmp/maven-local';
340-
const hermesPath = prepareArtifacts(
343+
const hermesPath = await prepareArtifacts(
341344
circleCIArtifacts,
342345
mavenLocalPath,
343346
localNodeTGZPath,
@@ -354,7 +357,7 @@ async function testRNTestProject(circleCIArtifacts) {
354357
exec('npm pack', {cwd: reactNativePackagePath});
355358

356359
pushd('/tmp/');
357-
// need to avoid the pod install step - we'll do it later
360+
// // need to avoid the pod install step - we'll do it later
358361
exec(
359362
`node ${reactNativePackagePath}/cli.js init RNTestProject --template ${localNodeTGZPath} --skip-install`,
360363
);

0 commit comments

Comments
 (0)