Skip to content

Commit d6a1b9b

Browse files
authored
BRAPI-43 print local mode (#9899)
* BRAPI-43 print local mode * BRAPI-43 print local mode * BRAPI-43 fix formatting
1 parent e2672c5 commit d6a1b9b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/dull-signs-smash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": minor
3+
---
4+
5+
Print local mode when running a browser binding in local mode

packages/wrangler/src/utils/print-bindings.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,9 @@ export function printBindings(
431431
type: friendlyBindingNames.browser,
432432
value: undefined,
433433
mode: getMode({
434-
isSimulatedLocally:
434+
isSimulatedLocally: !(
435435
getFlag("REMOTE_BINDINGS") && browser.experimental_remote
436-
? false
437-
: undefined,
436+
),
438437
}),
439438
});
440439
}

0 commit comments

Comments
 (0)