File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -1288,15 +1288,6 @@ describe.sequential("wrangler dev", () => {
12881288 [4mhttps://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/[0m for more
12891289 details.
12901290
1291-
1292- [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mWARNING: You have Durable Object bindings that are not defined locally in the worker being developed.[0m
1293-
1294- Be aware that changes to the data stored in these Durable Objects will be permanent and affect the
1295- live instances.
1296- Remote Durable Objects that are affected:
1297- - {\\"name\\":\\"NAME_2\\",\\"class_name\\":\\"CLASS_2\\",\\"script_name\\":\\"SCRIPT_A\\"}
1298- - {\\"name\\":\\"NAME_4\\",\\"class_name\\":\\"CLASS_4\\",\\"script_name\\":\\"SCRIPT_B\\"}
1299-
13001291 "
13011292 ` ) ;
13021293 } ) ;
Original file line number Diff line number Diff line change @@ -130,17 +130,7 @@ export async function getEntry(
130130 config . tsconfig
131131 ) ;
132132
133- const { localBindings, remoteBindings } =
134- partitionDurableObjectBindings ( config ) ;
135-
136- if ( command === "dev" && remoteBindings . length > 0 ) {
137- logger . warn (
138- "WARNING: You have Durable Object bindings that are not defined locally in the worker being developed.\n" +
139- "Be aware that changes to the data stored in these Durable Objects will be permanent and affect the live instances.\n" +
140- "Remote Durable Objects that are affected:\n" +
141- remoteBindings . map ( ( b ) => `- ${ JSON . stringify ( b ) } ` ) . join ( "\n" )
142- ) ;
143- }
133+ const { localBindings } = partitionDurableObjectBindings ( config ) ;
144134
145135 if ( format === "service-worker" && localBindings . length > 0 ) {
146136 const errorMessage =
You can’t perform that action at this time.
0 commit comments