Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be38546

Browse files
authored
Fix error message in outlet_properties (#616)
The error message hard-coded `data-controller` instead of referring to the schema's attribute name
1 parent 7e2b6bd commit be38546

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/outlet_properties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function propertiesForOutletDefinition(name: string) {
2424
return outletController
2525
} else {
2626
throw new Error(
27-
`Missing "data-controller=${name}" attribute on outlet element for "${this.identifier}" controller`
27+
`Missing "${this.application.schema.controllerAttribute}=${name}" attribute on outlet element for "${this.identifier}" controller`
2828
)
2929
}
3030
}

0 commit comments

Comments
 (0)