Skip to content

Commit 0e7c3c6

Browse files
fix: actually wait for backend.star to be configured
1 parent 3b5b13f commit 0e7c3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/e-build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ program
103103
.option('-t|--target [target]', 'Build a specific ninja target')
104104
.option('--no-remote', 'Build without remote execution (entirely locally)')
105105
.allowUnknownOption()
106-
.action((ninjaArgs, options) => {
106+
.action(async (ninjaArgs, options) => {
107107
try {
108108
const config = evmConfig.current();
109109

@@ -119,7 +119,7 @@ program
119119
}
120120

121121
reclient.downloadAndPrepareRBECredentialHelper(config);
122-
siso.ensureBackendStarlark(config);
122+
await siso.ensureBackendStarlark(config);
123123

124124
if (process.platform === 'darwin') {
125125
ensureSDK();

0 commit comments

Comments
 (0)