File tree 2 files changed +4
-4
lines changed
Bridge/Mercure/Resources/assets
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ class default_1 extends Controller {
5
5
initialize ( ) {
6
6
const errorMessages = [ ] ;
7
7
if ( ! this . hasHubValue )
8
- errorMessages . push ( ` A "hub" value pointing to the Mercure hub must be provided.` ) ;
8
+ errorMessages . push ( ' A "hub" value pointing to the Mercure hub must be provided.' ) ;
9
9
if ( ! this . hasTopicValue )
10
- errorMessages . push ( ` A "topic" value must be provided.` ) ;
10
+ errorMessages . push ( ' A "topic" value must be provided.' ) ;
11
11
if ( errorMessages . length )
12
12
throw new Error ( errorMessages . join ( ' ' ) ) ;
13
13
const u = new URL ( this . hubValue ) ;
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ export default class extends Controller {
22
22
23
23
initialize ( ) {
24
24
const errorMessages = [ ] ;
25
- if ( ! this . hasHubValue ) errorMessages . push ( ` A "hub" value pointing to the Mercure hub must be provided.` ) ;
26
- if ( ! this . hasTopicValue ) errorMessages . push ( ` A "topic" value must be provided.` ) ;
25
+ if ( ! this . hasHubValue ) errorMessages . push ( ' A "hub" value pointing to the Mercure hub must be provided.' ) ;
26
+ if ( ! this . hasTopicValue ) errorMessages . push ( ' A "topic" value must be provided.' ) ;
27
27
if ( errorMessages . length ) throw new Error ( errorMessages . join ( ' ' ) ) ;
28
28
29
29
const u = new URL ( this . hubValue ) ;
You can’t perform that action at this time.
0 commit comments