Skip to content

Commit fd561dd

Browse files
committed
Revert "disable build buddy temproarily"
This reverts commit 868e5df.
1 parent 48f7a47 commit fd561dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/kbn-pm/dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48470,8 +48470,8 @@ async function runBazelCommandWithRunner(bazelCommandRunner, bazelArgs, offline
4847048470
stdio: 'pipe'
4847148471
});
4847248472

48473-
if (offline || !offline) {
48474-
bazelArgs = [...bazelArgs, '--config=offline'];
48473+
if (offline) {
48474+
bazelArgs.push('--config=offline');
4847548475
}
4847648476

4847748477
const bazelProc = Object(_child_process__WEBPACK_IMPORTED_MODULE_4__["spawn"])(bazelCommandRunner, bazelArgs, bazelOpts);

packages/kbn-pm/src/utils/bazel/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ async function runBazelCommandWithRunner(
2929
stdio: 'pipe',
3030
};
3131

32-
if (offline || !offline) {
33-
bazelArgs = [...bazelArgs, '--config=offline'];
32+
if (offline) {
33+
bazelArgs.push('--config=offline');
3434
}
3535

3636
const bazelProc = spawn(bazelCommandRunner, bazelArgs, bazelOpts);

0 commit comments

Comments
 (0)