Skip to content

Commit 5a39bf4

Browse files
committed
fix: remove no-policies warning
1 parent bf17186 commit 5a39bf4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/connectors/controller/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ export class ControllerConnector extends Connector {
2525
constructor(options: Partial<ControllerOptions> = {}) {
2626
super()
2727

28-
if (!options.policies) {
29-
console.log(
30-
"[Controller] You have no policies set for the Controller. " +
31-
"This is not typical and may lead to unexpected behavior. " +
32-
"Go to https://docs.cartridge.gg/controller/sessions to learn more about setting policies.",
33-
)
34-
}
35-
3628
this.controller = this.available()
3729
? new Controller(options as ControllerOptions)
3830
: null

0 commit comments

Comments
 (0)